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

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  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  
foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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