github-actions(deps): bump actions/github-script from 8 to 9 (#397)
Bumps actions/github-script from 8 to 9.
updated-dependencies:
- dependency-name: actions/github-script dependency-version: ‘9’ dependency-type: direct:production update-type: version-update:semver-major …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
caretEnsemble
caretEnsemble is a framework for stacking models fit with the caret package.
Use
caretListto fit multiple models, and then usecaretStackto stack them with another caret model.First, use caretList to fit many models to the same data:
Then, use caretEnsemble to make a greedy ensemble of these models
You can also use caretStack to make a non-linear ensemble
Use autoplot from ggplot2 to plot ensemble diagnostics:
Installation
Install the stable version from CRAN:
Install the dev version from github:
There are also tagged versions of caretEnsemble on github you can install via devtools. For example, to install the previous release of caretEnsemble use:
This is useful if the latest release breaks some aspect of your workflow. caretEnsemble is pure R with no compilation, so this command will work in a variety of environments.
Package development
This package uses a Makefile. Use
make helpto see the supported options.Use
make fix-styleto fix simple linting errors.For iterating while writing code, run
make dev. This runs justmake clean fix-style document lint spell test, for a quicker local dev loop. Please still runmake allbefore making a PR.Use
make allbefore making a pull request, which will also run R CMD CHECK and a code coverage check. This runsmake clean fix-style document install build-readme build-vignettes lint spell test check coverage preview-site.First time dev setup:
run
make installfrom the git repository to install the dev version of caretEnsemble, along with the necessary package dependencies. # Inspiration and similar packages: caretEnsemble was inspired by medley, which in turn was inspired by Caruana et. al.’s (2004) paper Ensemble Selection from Libraries of Models.If you want to do something similar in python, check out vecstack.
Code of Conduct:
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.