[ML]² : Machine Learning for Machine Learning
ML Square is a python library that utilises deep learning techniques to
Enable interoperability between existing standard machine learning frameworks.
Provide explainability as a first-class function.
Make ML self learnable.
Getting Started!
Setting up mlsquare is simple and easy
Create a Virtual Environment(optional)
virtualenv ~/venv source ~/venv/bin/activate
Install mlsquare package
pip install mlsquare
Import dope function from mlsquare and pass the sklearn model object
>>> from mlsquare import dope >>> from sklearn.linear_model import LinearRegression >>> from sklearn.preprocessing import StandardScaler >>> from sklearn.model_selection import train_test_split >>> import pandas as pd >>> from sklearn.datasets import load_diabetes >>> model = LinearRegression() >>> diabetes = load_diabetes() >>> X = diabetes.data >>> sc = StandardScaler() >>> X = sc.fit_transform(X) >>> Y = diabetes.target >>> x_train, x_test, y_train, y_test = train_test_split(X, Y, test_size=0.60, random_state=0) >>> m = dope(model) >>> # All sklearn operations can be performed on m, except that the underlying implementation uses DNN >>> m.fit(x_train, y_train) >>> m.score(x_test, y_test)
Tutorial
For a comprehensive tutorial please do checkout this link
Contribute
To get started with contributing, refer our devoloper guide here
For detailed documentation refer documentation
We would love to hear your feedback. Drop us a mail at info@mlsquare.org
Metadata
Release files for mlsquare 0.2.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mlsquare-0.2.2.1.tar.gz | 2.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mlsquare-0.2.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 2.1 MB
Release files / mlsquare-0.2.2.1.tar.gz
| Download URL | mlsquare-0.2.2.1.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2bbfca061470e67e9bd5e57d9c86f972f339f2bd62b2e93ebce81a810f17648
|
|
BLAKE2b-256 checksum How to use checksums |
58719968b34f896f1d64d2582eba47df79bc5b650c7176b2bc987ebbf369b959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / mlsquare-0.2.2.1-py2.py3-none-any.whl
| Download URL | mlsquare-0.2.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 33.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
023b471e6b7b1a003a4228f2057250929c965233ca163108e1271339d694a0bc
|
|
BLAKE2b-256 checksum How to use checksums |
fa1d0d9b9a9c28aa69d8364ccd5995fe90dc565c8f37bb2e8b4b91e661b3a3ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|