mljar / mljar-api-python

A simple python wrapper over MLJAR API.
https://docs.mljar.com/
Apache License 2.0
42 stars 10 forks source link
machine-learning machine-learning-api mljar-api-python prediction-algorithm predictive-analytics predictive-modeling python

Build Status PyPI version Coverage Status PyPI pyversions

mljar-api-python

A simple python wrapper over mljar API. It allows MLJAR users to create Machine Learning models with few lines of code:

from mljar import Mljar

model = Mljar(project='My awesome project', experiment='First experiment')
model.fit(X,y)

model.predict(X)

That's all folks! Yeah, I know, this makes Machine Learning super easy! You can use this code for following Machine Learning tasks:

How to install

You can install mljar with pip:

pip install -U mljar

or from source code:

python setup.py install

How to use it

  1. Create an account at mljar.com and login.
  2. Please go to your users settings (top, right corner).
  3. Get your token, for example 'exampleexampleexample'.
  4. Set environment variable MLJAR_TOKEN with your token value:
    export MLJAR_TOKEN=exampleexampleexample
  5. That's all, you are ready to use MLJAR in your python code!

What's going on?

Examples

The examples are here!.

Testing

To run tests with command:

python -m tests.run