Machine Learning for Machine Learning
Project description
[ML]² : Machine Learning for Machine Learning
ML Square is python library that utilises deep learning techniques to enable interoperability between existing standard machine learning frameworks.
Getting Started!
Setting up mlsquare is simple and easy
Create a Virtual Environment
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for mlsquare-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2476e8e7ffc781a6bc1aed517dbf00e4eac2b28c1c6bd347b5430119053363df |
|
MD5 | 242c3954b28f3e39ec67bb8d5133916f |
|
BLAKE2b-256 | 380f398f0d48536a148aaecec10347157bd4fc8304493f7e6510a0e738716ff3 |