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 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:20), 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

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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