Skip to main content

An easy-to-use regression pipeline to preprocess, analyze, and optimize models.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

baserush-0.0.2.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

baserush-0.0.2-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

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

Hashes for baserush-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ace205ebad657ad26c4ef51efbccb8a88eb8fb26764ae1c213b330452210f653
MD5 1de35b0777f6da694dd55164805ab978
BLAKE2b-256 cee031f1cb7ffc7f5a9de1339d08ac1634638ca8810d530bb0c3b6e76cf50a7c

See more details on using hashes here.

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

Hashes for baserush-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f1b2a23adcfaf1ed7b66f5fca9a49f635aa54d9bfb6fe14ddbfbc8fc66bcfc1
MD5 999a9c41a15be70650df22bd5d7c146e
BLAKE2b-256 257d57836e7d3c7d1b86d442bd76a268ddcd0275f2f1130b0b5b803aa8dece97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page