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.1.tar.gz (10.0 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.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlaunch-0.1.1.tar.gz
  • Upload date:
  • Size: 10.0 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.1.tar.gz
Algorithm Hash digest
SHA256 53c2f06f55bbbc30564b0fa2ecb85ed8438b05d571358602775212109e226e0c
MD5 604828fdec535a27f587a11db926cc6f
BLAKE2b-256 c72f7ee49168dec689e1577f022fe66e9d72e42c0522b0d8214ad5359f248493

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlaunch-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba694c28e7c54113485fdc3ad6a5a97835d5a428c1f2b8e8fe2109a9d599338c
MD5 c09c034d1078109e1be2e1579510a4c0
BLAKE2b-256 8d3493d3cfc31b4ec06d010a924ad8b9263dc7bb2e4a0b7a7950cc7e2f9551b8

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