Package: basemodels 1.1.0

basemodels: Baseline Models for Classification and Regression

Providing equivalent functions for the dummy classifier and regressor used in 'Python' 'scikit-learn' library. Our goal is to allow R users to easily identify baseline performance for their classification and regression problems. Our baseline models use no predictors, and are useful in cases of class imbalance, multiclass classification, and when users want to quickly identify how much improvement their statistical and machine learning models are over several baseline models. We use a "better" default (proportional guessing) for the dummy classifier than the 'Python' implementation ("prior", which is the most frequent class in the training set). The functions in the package can be used on their own, or introduce methods named 'dummy_regressor' or 'dummy_classifier' that can be used within the caret package pipeline.

Authors:Ying-Ju Chen [aut, cre], Fadel M. Megahed [aut], L. Allison Jones-Farmer [aut], Steven E. Rigdon [aut]

basemodels_1.1.0.tar.gz
basemodels_1.1.0.zip(r-4.5)basemodels_1.1.0.zip(r-4.4)basemodels_1.1.0.zip(r-4.3)
basemodels_1.1.0.tgz(r-4.4-any)basemodels_1.1.0.tgz(r-4.3-any)
basemodels_1.1.0.tar.gz(r-4.5-noble)basemodels_1.1.0.tar.gz(r-4.4-noble)
basemodels_1.1.0.tgz(r-4.4-emscripten)basemodels_1.1.0.tgz(r-4.3-emscripten)
basemodels.pdf |basemodels.html
basemodels/json (API)

# Install 'basemodels' in R:
install.packages('basemodels', repos = c('https://ying-ju.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ying-ju/basemodels/issues

On CRAN:

3.70 score 7 scripts 269 downloads 6 exports 0 dependencies

Last updated 1 years agofrom:c1837f72a8. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winOKNov 21 2024
R-4.5-linuxOKNov 21 2024
R-4.4-winOKNov 21 2024
R-4.4-macOKNov 21 2024
R-4.3-winOKNov 21 2024
R-4.3-macOKNov 21 2024

Exports:dummy_classifierdummy_regressordummyClassifierdummyRegressorpredict_dummy_classifierpredict_dummy_regressor

Dependencies:

Introduction to basemodels

Rendered fromintro_to_basemodels.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2023-07-29
Started: 2023-07-29