Skip to main content

baserush

PyPI

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 transformations
  • optimize: automatic feature selection; hyperparameter analysis
  • summary: training and validation R-Squared, stability tools; model-specific outputs

preprocessing Features

  • simputer makes it simple to flag and impute missing values.
  • Quickly alleviate skewness with transtorm.
  • Use simple_scaler to 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_results to 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.

Metadata

Release files for baserush 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for baserush 0.0.2
File Size Uploaded
baserush-0.0.2.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for baserush 0.0.2
File Interpreter ABI Platform
baserush-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.0 kB

Release files / baserush-0.0.2.tar.gz

Download URL baserush-0.0.2.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ace205ebad657ad26c4ef51efbccb8a88eb8fb26764ae1c213b330452210f653
BLAKE2b-256 checksum
How to use checksums
cee031f1cb7ffc7f5a9de1339d08ac1634638ca8810d530bb0c3b6e76cf50a7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / baserush-0.0.2-py3-none-any.whl

Download URL baserush-0.0.2-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f1b2a23adcfaf1ed7b66f5fca9a49f635aa54d9bfb6fe14ddbfbc8fc66bcfc1
BLAKE2b-256 checksum
How to use checksums
257d57836e7d3c7d1b86d442bd76a268ddcd0275f2f1130b0b5b803aa8dece97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page