Skip to main content

Regression Model Performances

Project description

RegressModel

RegressModel is a Python package designed for streamlined regression analysis. It facilitates the process of training and evaluating multiple regression models on a dataset, providing a comprehensive comparison of their performance. This package is particularly useful for data scientists and machine learning practitioners who need to quickly assess the best regression model for their specific data.

Features

  • Easy comparison of various regression models.
  • Includes common models like Linear Regression, Lasso, Ridge, SVR, Random Forest, Decision Tree, and XGBoost.
  • Outputs performance metrics like R2 score, RMSE, MSE, MAE, and cross-validation scores.

Installation

You can install RegressModel using pip:

pip install regressmodel

Usage

Here is a simple example of how to use RegressModel:

from regressmodel.core import RegModelling
import pandas as pd
from sklearn.model_selection import train_test_split

# Sample dataset
df = pd.read_csv('your_dataset.csv')
X = df.drop('target_column', axis=1)
y = df['target_column']

# Splitting the dataset
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)

# Using RegressModel
results = RegModelling(X_train, y_train, X_test, y_test)

# The results variable will contain performance metrics of the models

Requirements

Python 3.6 or higher scikit-learn numpy xgboost

Contributing

Contributions to RegressModel are welcome! Feel free to fork the repository and submit pull requests.

License

RegressModel is licensed under the MIT License - see the LICENSE file for details.

Author

SaiKoushikGandikota

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

regresseasy-0.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

regresseasy-0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file regresseasy-0.2.tar.gz.

File metadata

  • Download URL: regresseasy-0.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for regresseasy-0.2.tar.gz
Algorithm Hash digest
SHA256 f9ddfaed36032500e40d8e185a4292e0d5d03095758a2c6fe20e0a96c3533634
MD5 0a0bef3b943e6f3a3e33046647cc2c9e
BLAKE2b-256 af851653457bfe34d000223b41706551ce46602941e3cacb7f3a0c31db385d42

See more details on using hashes here.

File details

Details for the file regresseasy-0.2-py3-none-any.whl.

File metadata

  • Download URL: regresseasy-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for regresseasy-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33da3f4947306ce627bf29f5f95c75ca10e7a62ad1703369c951a0925a4f8041
MD5 7f14dfff3dcd6eb481af4aac1a64b7e1
BLAKE2b-256 787683202107e7b804afdb19f4d2861afab1fb49942811816a1f074e22d61670

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