Type: Package Package: basemodels Title: Baseline Models for Classification and Regression Version: 1.1.0 Authors@R: c( person(given = "Ying-Ju", family = "Chen", role = c("aut", "cre"), email = "ychen4@udayton.edu", comment = c(ORCID = "0000-0002-6444-6859")), person(given = "Fadel M.", family = "Megahed", role = "aut", comment = c(ORCID = "0000-0003-2194-5110")), person(given = "L. Allison", family = "Jones-Farmer", role = "aut", comment = c(ORCID = "0000-0002-1529-1133")), person(given = "Steven E.", family = "Rigdon", role = "aut", comment = c(ORCID = "0000-0001-7668-0899")) ) 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. License: MIT + file LICENSE URL: https://github.com/Ying-Ju/basemodels Imports: stats Encoding: UTF-8 RoxygenNote: 7.2.3 Suggests: caret, knitr, rmarkdown VignetteBuilder: knitr Repository: https://ying-ju.r-universe.dev Date/Publication: 2023-07-30 21:30:06 UTC RemoteUrl: https://github.com/ying-ju/basemodels RemoteRef: HEAD RemoteSha: c1837f72a8efbcc2d1c156091a02d9aef20daafd NeedsCompilation: no Packaged: 2026-09-23 06:55:16 UTC; root Author: Ying-Ju Chen [aut, cre] (ORCID: ), Fadel M. Megahed [aut] (ORCID: ), L. Allison Jones-Farmer [aut] (ORCID: ), Steven E. Rigdon [aut] (ORCID: ) Maintainer: Ying-Ju Chen