Comments (5)
Ideally these should combine elegantly, so that you can (e.g.) bootstrapping by group. Probably not possible to implement all grouping types for all data sources (e.g. random sampling in sql might be hard)
from dplyr.
plyrmr also has a recursive grouping, whereby the operations on the grouped data can be applied on each leaf, then to the results of that and so on up to the root, useful with associative and commutative operations and when the number of groups is small, which makes flat grouping hit memory limits (in the obvious implementation where each group is in memory at once, alternatives based on iterators are also possible, albeit less convenient).
from dplyr.
@piccolbo Can you provide an example? Do you mean (e.g.) that you could split the data groupwise, then bootstrap each group multiple times and fit a linear model?
from dplyr.
No, it's the same thing as a hadoop combiner but with a name that makes it possible to explain it less in terms of its implementation. I am not sure I nailed it. The model is sum() of a big collection. You can group the summands any way you see fit, sum and then apply recursively. In hadoop it is such a performance boost that it makes certain programs possible altogether, not just faster. In principle, recursive grouping should not change the semantics of the program wrt flat grouping. Bootstrapping is a separate idea and very interesting. One of http://github.com/RevolutionAnalytics/rmr2 users has implemented it on top of map reduce in R. It may be of interest http://blog.cloudera.com/blog/2013/02/how-to-resample-from-a-large-data-set-in-parallel-with-r-on-hadoop/
from dplyr.
Moved to individual issues.
from dplyr.
Related Issues (20)
- Error in the function 'across()' HOT 3
- Documentation error for count HOT 4
- `if_else` `missing` argument does not work when using `%in%` to evaluate. HOT 3
- Add a Ranking Function to Compute Tail Means HOT 1
- across(), but over two sets of vector
- filter may crash RStudio Session when combining rbind and rowwise HOT 3
- Look at dplyrover HOT 1
- `if_any` on zero-column selection yields `TRUE` HOT 2
- Typo in cumulative function docs
- `bind_rows` does not capture `tapply` output names with `.id` parameter HOT 1
- A subtle scoping flaw in pull()
- Feature Request: add `.groups = "drop"` option to `mutate` HOT 3
- Feature request: global option for summarise .groups setting HOT 1
- Potential bug with `if_any()`- returns TRUE if no columns are selected HOT 2
- row_number() does not repsect .by= in mutate HOT 1
- `if_else()` coerces `NA` as `list(NULL)` when the `false` argument is a list HOT 2
- `if_any()` does not work as expected inside `mutate` when no inputs are provided HOT 2
- Combined slice_head and slice_tails into one function HOT 2
- Mutate: ".by" returns attributes in a different order to the "group, mutate, ungroup" pattern HOT 1
- `case_when` returns length-0 option if any option is length-0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dplyr.