Skip to main content

Automatic ML pipeline builder

Project description

mlaunch

About the Project

mlaunch is a Python package 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 mlaunch 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 mlaunch 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 mlaunch 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,y_column)

parameteres

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

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.2.0.tar.gz (10.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.2.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlaunch-0.2.0.tar.gz
  • Upload date:
  • Size: 10.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.2.0.tar.gz
Algorithm Hash digest
SHA256 b9658c4360f7492c76719f0393c76dc8c914617340c601961526e7e0c0ed991a
MD5 7acadb7310d52093b20a57298243882b
BLAKE2b-256 dff8a2801495824073652286377a4a70648e0834fff5ce8202341ce301c1f9a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlaunch-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c16832967bb5af641c9f1556f413bb1dd30e63a4af831685c5fba7127e24e72
MD5 34b85e77a15c6873eea0083eaddf0dca
BLAKE2b-256 6ecca463eca4b4863ae0f306af58c122f7ee08405a0df86344a5dbcf939bbe13

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