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 09 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

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
pooling  
Fit Poolwise Regression Models
Functions for calculating power and fitting regression models in studies where a biomarker is measur ...
Download / Learn more Package Citations See dependency  
Rgb  
The R Genome Browser
Classes and methods to efficiently handle (slice, annotate, draw ...) genomic features (such as gene ...
Download / Learn more Package Citations See dependency  
rzentra  
Client for the 'ZENTRA Cloud' API
Provides functionality to read settings, statuses and readings of weather stations from the 'ZENTRA ...
Download / Learn more Package Citations See dependency  
ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

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