Generative AutoML for Tabular Data
Project description
SapientML
Getting Started
Prerequisites
- Python >=3.9,<3.11
Installation
pip install sapientml
Generate Code in a notebook
Please download housing-prices.csv to execute the following code.
import pandas as pd
df = pd.read_csv("housing-prices.csv")
from sapientml import SapientML
sml = SapientML()
ret = sml.generate_code(
training_data=df,
task_type="regression",
target_columns=["SalePrice"],
ignore_columns=["Id"],
adaptation_metric="RMSE",
hyperparameter_tuning=False,
id_columns_for_prediction=["Id"]
)
ret.save(
"outputs",
save_dev_scripts=True,
save_user_scripts=True,
save_datasets=True,
save_running_arguments=True,
)
Run Generated Code
cd outputs/
python final_script.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sapientml-0.1.2.post0.tar.gz
(90.7 kB
view hashes)
Built Distribution
Close
Hashes for sapientml-0.1.2.post0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 530565b4c688ca5b0b0e6f90128544c25762236e57524a5e7462ffcc2efe2a79 |
|
MD5 | 4df29dfad1f88647cb6b1477bb3e496b |
|
BLAKE2b-256 | afc03fa8e68af94bf4a0d97eb198fac32cbf4f48aebd9ab7424e4de7b9905dad |