Comments (7)
That's a good suggestion to make the fitting process more accessible. How would the tune grids for each method be specified? Maybe methodList could be a list of lists, where each element has either a tuneLength or tuneGrid parameter to pass to caret? Something like:
methodList <- list(rf=list(tuneGrid=data.frame(.mtry=c(2,4,8,1)), nnet=list(tuneLength=10)), knn=list(tuneLength=25))
I don't have a ton of time to work on this at the moment, but will add it to my todo list. In the meantime, I'd be happy to merge in any pull requests you have the time to write.
from caretensemble.
I'll probably hit you up with a pull request if you think this is a good idea. It's poor form to suggest an enhancement and at least not give a pull request a stab. I think you've built a great structure here. The caret API has changed a bit since you worked this up, so I forked the repo and have been working on making sure it works with caret 6.0+ models.
You are absolutely right about the tune grids. Making it a list of lists is a really good fix for that.
from caretensemble.
I think it's a good idea. This package hasn't seen a lot of love from me lately, and definitely needs some updating to work with caret 6.0.
from caretensemble.
I think the next step is to generate some print
and summary
methods for both caretEnsemble
objects and caretList
objects. I have some ideas, but am happy to incorporate any thoughts you have about what we should show the user.
from caretensemble.
I don't currently have any ideas for print and summary, so feel free to
code up your ideas. If that sparks anything on my end, I'll comment on
your PR.
On Fri, Feb 28, 2014 at 11:24 AM, Jared Knowles [email protected]:
I think the next step is to generate some print and summary methods for
both caretEnsemble objects and caretList objects. I have some ideas, but
am happy to incorporate any thoughts you have about what we should show the
user.Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-36367426
.
from caretensemble.
@zachmayer I think you can close this issue. If we want to revisit the caretList
objects and further enhance them, that should be a new issue.
from caretensemble.
A note for future reference: we've renamed buildModels
to caretList
, and it's become a core part of the package. Everyone who's using caretEnsemble seems to be writing giants loops to fit "every model in the caret package," so it seems like a good idea to have a unified way to fit all those models and make sure they'll work with caretEnsemble, without issues from re-sampling indexes or random seeds.
(maybe we can write a vignette on why this is a bad idea and a few hand-tuned models is usually better...)
from caretensemble.
Related Issues (20)
- Fix travis build
- print.caretStack is hardcoded to say "ensemble of 2 base models" HOT 1
- could not find function "residuals.caretEnsemble" HOT 6
- ClassPredictions not saving HOT 7
- Adaptive LASSO with caretEnsemble HOT 5
- Fix CRAN build HOT 1
- CaretEnsemble with pretrained models HOT 2
- Allow predict without newdata HOT 1
- Add commands workflow HOT 1
- Cancel previous workflow on new commit HOT 1
- run lint job first, then unit tests, then R CMD CHECK HOT 1
- 100% code coverage
- caretList improvement HOT 1
- remove caretEnsemble completely HOT 1
- Review all skip_on_cran() testsβ some of them maybe shouldn't be skipped
- Replace all suppressWarnings with expect_warnings in tests
- Big Data testing
- Remove tuneList and only use methodList HOT 1
- add defaultTrainControl, use it in caretList and caretStack HOT 1
- Prep for CRAN release HOT 1
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 caretensemble.