An easy-to-use regression pipeline to preprocess, analyze, and optimize models.
Project description
baserush
Stable base modeling made quick and easy!
baserush is an easy-to-use regression pipeline for preprocessing, optimizing, and summarizing machine learning models within the scikit-learn framework. This package is ideal for efficiently building and comparing stable models from different model types.
Supported Model Types
Linear Models
- LinearRegression
- Lasso
- Ridge
- SGDRegressor
Neighbors Models
- KNeighborsRegressor
- RadiusNeighborsRegressor
CaRT Models
- DecisionTreeRegressor
- ExtraTreeRegressor
Ensemble Models
- RandomForestRegressor
- GradientBoostingRegressor
- ExtraTreesRegressor
- RandomTreesEmbedding
Package Modules
preprocess: missing values, skewness, standardization, and categorical transformationsoptimize: automatic feature selection; hyperparameter analysissummary: training and validation R-Squared, stability tools; model-specific outputs
preprocessing Features
simputermakes it simple to flag and impute missing values.- Quickly alleviate skewness with
transtorm. - Use
simple_scalerto seamlessly standardize features. - Efficiently prepare categorical data for modeling with
catcoder.
optimize-ation Features
-
Base modeling made easy with
quick_lm(with automated feature selection)quick_tree, (includes very fast automated hyperparameter tuning)quick_neighbors, (automatically tunes n neighbors)
-
Use
tuning_resultsto analyze the top n-models after hyperparameter tuning with GridSeachCV | RandomizedSearchCV.
summary Features
lr_summary, tree_summary, and knn_summary
- Automatically instantiate customizable training and validation sets.
- Generate a dataset of model summaries for easy comparison, including:
- Model Name
- Model Class
- Model Type
- R-Squared (Training Set)
- R-Squared (Validation Set)
- Train-Test Gap
- Model-Specific:
- Model Coefficients
- Feature Importance
- Hyperparameter Values
Installation
Install using pip:
pip install baserush
Example Usage
print("Examples coming soon.")
License
MIT License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file baserush-0.0.2.tar.gz.
File metadata
- Download URL: baserush-0.0.2.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ace205ebad657ad26c4ef51efbccb8a88eb8fb26764ae1c213b330452210f653
|
|
| MD5 |
1de35b0777f6da694dd55164805ab978
|
|
| BLAKE2b-256 |
cee031f1cb7ffc7f5a9de1339d08ac1634638ca8810d530bb0c3b6e76cf50a7c
|
File details
Details for the file baserush-0.0.2-py3-none-any.whl.
File metadata
- Download URL: baserush-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f1b2a23adcfaf1ed7b66f5fca9a49f635aa54d9bfb6fe14ddbfbc8fc66bcfc1
|
|
| MD5 |
999a9c41a15be70650df22bd5d7c146e
|
|
| BLAKE2b-256 |
257d57836e7d3c7d1b86d442bd76a268ddcd0275f2f1130b0b5b803aa8dece97
|