Other packages > Find by keyword >

basemodels  

Baseline Models for Classification and Regression
View on CRAN: Click here


Download and install basemodels package within the R console
Install from CRAN:
install.packages("basemodels")

Install from Github:
library("remotes")
install_github("cran/basemodels")

Install by package version:
library("remotes")
install_version("basemodels", "1.1.0")



Attach the package and use:
library("basemodels")
Maintained by
Ying-Ju Chen
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-06-16
Latest Update: 2023-08-09
Description:
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.
How to cite:
Ying-Ju Chen (2023). basemodels: Baseline Models for Classification and Regression. R package version 1.1.0, https://cran.r-project.org/web/packages/basemodels. Accessed 06 Mar. 2026.
Previous versions and publish date:
1.0.0 (2023-06-16 11:10)
Other packages that cited basemodels R package
View basemodels citation profile
Other R packages that basemodels depends, imports, suggests or enhances
Complete documentation for basemodels
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA