Skip to main content

SparkAutoML

PyPI PyPI - Python Version GitHub GitHub language countDownloads

This is a TRIAL version

The main idea of the package is to easily build and deploy pyspark's machine learning library

If you want to contribute please reach out to fahadakbar@gmail.com

Thank you !

https://user-images.githubusercontent.com/19522276/163658399-17786b20-0208-44ff-b111-98b74ab34d25.mp4


How to install

PySpark's version 3.2.1 or higher is required

pip install SparkAutoML

How to use

|Binary Classifier|

1: Import the classifier

from SparkAutoML.ml_module.BinaryClassifier_module.classifier_file import BClassifier

2: Setup the experimental

bcf = BClassifier(
    training_data=train, # spark data frame
    hold_out_data=test,  # spark data frame
    target_feature="target",  # target feature
    numeric_features=["num_1","num_3"], # list of all numeric features
    categorical_features=["cat_4", "cat_2"], # list of all categorical features
)

3: Create a model, e.g. random forest classifier

bcf.create_model("rfc") 

OR

Compare multiple models

bcf.compare_models(sort='auc')

4: Make predictions

bcf.predict_model(unseen_data # spark data frame)

5: Access the entire pipeline

bcf.fitted_pipeline


Metadata

Release files for SparkAutoML 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SparkAutoML 0.0.15
File Size Uploaded
SparkAutoML-0.0.15.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SparkAutoML 0.0.15
File Interpreter ABI Platform
SparkAutoML-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 28.2 kB

Release files / SparkAutoML-0.0.15.tar.gz

Download URL SparkAutoML-0.0.15.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8a356e0a35ee18360e5228167d00e3575c620df213a376e1803e43a52b06b9fd
BLAKE2b-256 checksum
How to use checksums
ce174999f05ea6480817059d6f8fb7a640be64c43b1cf0958e55ffabdf14af3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / SparkAutoML-0.0.15-py3-none-any.whl

Download URL SparkAutoML-0.0.15-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8056b131036101107f5cd6c2184fb3d27e924a35fc792cbe5bee2656c82f1e3d
BLAKE2b-256 checksum
How to use checksums
6b457249819c939d4bba013012c1cec917e8e1b5b340edaf32c2b0c89d83ffc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page