Skip to main content

Automatic ML pipeline builder

Project description

automl

About the Project

AutoML Builder is a Python project that automatically generates a complete machine learning model from a CSV file. It handles data preprocessing, encoding, model selection, and evaluation.

Functions

AutoML

this function will preprocess the data and create the model for you

from automl import AutoML
model = AutoML(path,y_column,model_name,type = "pipeline")

parameteres

  • path: the path for your csv file
  • y_column: the target column in your dataset
  • model_name: the name of your model out of these current model:
    • Linear Regression
    • Logistic Regression
    • Random Forest Regression
    • Hist Gradient Boosting Regression
    • Random Forest classifier
    • Hist Gradient Boosting classifier
    • Auto Select : it will select the best model for your data more will be added in the future
  • type: how will the output be:
    • pipeline: it will output the model as a pipeline
    • python file: it will export the model to model.pkl file and run a python file to input the data

preprocessing

this function will handle the outliers and encode your data and output it as a ColumnTransformer

from automl import preprocessing
preprocessor = preprocessing(model,df,y_column)
model = Pipeline([
    ("preprocessor",preprocessor)
])

parameteres

  • model: put your model here
  • df: put the dataframe here
  • y_column: the target column in your dataset

dataset_info

this function returns a dictionary of the size, cat_columns and num_columns

from automl import dataset_info
info = dataset_info(df,y_column)

parameteres

  • df: put the dataframe here
  • y_column: the target column in your dataset

column_statistics

this function returns a bunch of stats for every column in the dataframe

from automl import column_statistics
stats = column_statistics(df,cat_columns,num_columns)

parameteres

  • df: put the dataframe here
  • cat_columns: the catagorical columns in your dataframe, you can get them easily by using dataset_info(df,y_column)["cat_columns]
  • num_columns: the numerical columns in your dataframe, you can get them easily by using dataset_info(df,y_column)["num_columns]

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

mlaunch-0.1.0.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.

mlaunch-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file mlaunch-0.1.0.tar.gz.

File metadata

  • Download URL: mlaunch-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mlaunch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd8e7e8702d741aed02b7337d77c78326398a824b4b249317d16502d85ccc325
MD5 eaa6d2763dc86a00e7c0574d429031e3
BLAKE2b-256 8684c8e38af366516f44fa55fca6e592fa2c69b851478fbc2b1a60761a60135a

See more details on using hashes here.

File details

Details for the file mlaunch-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mlaunch-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mlaunch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca95ce6c163aa0d03cdd520649c968e7d160bf9a502ee7c61bdb91bb6038fdb
MD5 9335c14e82954e67bc0dded51affea98
BLAKE2b-256 7fba7d59095a19d588ebac760ae95344b6e612127e5b3152776f1763be8235cd

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