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 05 Jun. 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

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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