Skip to main content

An automated AI/ML solution from Marlabs

Project description

mAdvisor AutoML by Marlabs

Python

mAdvisor AutoML is an automated AI/ML solution from Marlabs that translates data into meaningful insights & predictions without any manual intervention. AutoML gives you the power of cognitive technologies like machine learning, machine reasoning, deep learning, natural language generation, natural language processing and expert rules systems with your limited knowledge of AI/ML, thereby enabling enterprises to identify revenue streams, enhance customer experience and productivity. This solution is designed for application and machine experts, so that machine learning models can be created with no help from a data scientist. A 30-day trial license for mAdvisor AutoML® is issued on activation.

The solution includes the following features:

  1. Ability to comprehend and monetize Big Data
  2. Rapid time to insights
  3. No dependency on data scientists & analysts to create briefs
  4. Rapid development of predictive apps
  5. Expandable and Scalable to the adoption of new use cases

Installation

pip

$ pip install mAdvisor

Usage

  • A Licence Key is required to use this package
  • Register yourself to activate the 30 days free trial
  • Connect with Marlabs mAdvisor team to purchase a paid licence.

User Registration and Plan Subscription

Sign Up

import requests
base_url = 'https://madvisor-dbc.marlabsai.com/automl'
url = base_url + '/account/sign-up'
data= {'email': '<email id>',
 'username':'<user name>',
 'password':'<password>'
}
response = requests.post(url, data=data)
if response.status_code != 200:
    print('Failed response code {}'.format(response.status_code))
print('Output result: {}'.format(response.json()))

Subscribe to the 30 days trial plan

url = base_url+'/subscription/subscribe-plan'
data= {'username':'<user name>',
 'password':'<password>',
 'subscription_type': 'TRIAL',
 'plan': 'FREE'
 }

response = requests.post(url, data=data)
if response.status_code != 200:
    print('Failed response code {}'.format(response.status_code))
print('Output result: {}'.format(response.json()))

Check Your Active Subscriptions

url = base_url+'/subscription/active-plans'
data= {'username':'<user name>',
 'password':'<password>'
 }

response = requests.post(url, data=data)
if response.status_code != 200:
    print('Failed response code {}'.format(response.status_code))
print('Output result: {}'.format(response.json()))

Start Using the Library

AutoML model training

This class is used to initiate AutoML training job, user has to use the slug value returned from here while doing prediction.

from mAdvisor import train
model = train(train_data="<train dataset pass either path to the file or dataframe>",
               target="<Target Variable Name>",
               token = "<Licence Key>")
model_slug, _ = model.fit()

AutoML prediction

Train data prediction can be using this class

from mAdvisor import score
model = score(test_data="<test dataset pass either path to the file or dataframe>",
               training_slug="<model slug value received from train output>",
               token = "<Licence Key>")
prediction_rules, predicted_data, _ = model.fit()

AutoML model Training and Prediction in a single go

Used to initiate automl job, both model training and scoring can be done using this class.

from mAdvisor import automl
model = automl(train_data="<train dataset pass either path to the file or dataframe>",
               test_data="<test dataset pass either path to the file or dataframe>",
               target="<Target Variable Name>",
               token = "<Licence Key>")
model_slug, prediction_rules, predicted_data, _ = model.fit()

Automated Data Preprocessing, Feature engineering and Feature Selection for train data

Feature engineering module will return two dataframes, one for linear algorithms & second one for tree based algorithms, and a slug value which is to be used while preparing test data.

from mAdvisor import AutoFE
preprocess = AutoFE(target="<Target Variable Name>",
                    train_df = "train dataframe to be used",
                    token = "<Licence Key>")
linear_df, tree_df, fe_slug, _ = preprocess.fit()

Automated Data Preprocessing, Feature engineering and Feature Selection for test data

Feature engineering module will return two dataframes, one for linear algorithms and second one for tree based algorithms.

from mAdvisor import AutoFE_Test
preprocess_test = AutoFE_Test(test_df = "<test dataframe to be used>",
			 fe_slug="<Unique slug value received from train data feature engineering>",
                   	 token = "<Licence Key>")
linear_df_test, tree_df_test, _ = preprocess_test.fit()

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 Distributions

mAdvisor-0.3.4-cp38-cp38-win_amd64.whl (7.3 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

mAdvisor-0.3.4-cp38-cp38-manylinux2014_x86_64.whl (89.9 MB view hashes)

Uploaded CPython 3.8

mAdvisor-0.3.4-cp37-cp37m-win_amd64.whl (6.7 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

mAdvisor-0.3.4-cp37-cp37m-manylinux2014_x86_64.whl (34.4 MB view hashes)

Uploaded CPython 3.7m

mAdvisor-0.3.4-cp36-cp36m-win_amd64.whl (6.6 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

mAdvisor-0.3.4-cp36-cp36m-manylinux2014_x86_64.whl (34.7 MB view hashes)

Uploaded CPython 3.6m

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page