Skip to main content

Fully automated machine learning in one-liners.

Project description

Test Image 1

Fully Automated Machine Learning in One-Liners

Build Status Downloads Slack PyPi Release

Libra is a deep learning API that allows users to use machine learning in their workflows in fluent one-liners. It is written in Python and TensorFlow and makes training neural networks as simple as a one line function call. It was written to make deep learning as simple as possible to every user.


Installation

Install latest release version:

pip install -U libra

Install directory from github:

git clone https://github.com/Palashio/libra.git
cd libra
pip install .

From Conda:

conda install libra -c conda-forge

Usage: the basics

The core functionality of libra works through the client object. A new client object should be created for every dataset that you want to produce results for. All information about the models that're built, the plots that are generated, and the metrics are created will be stored in the object.

You can then call different queries on that client object, and the dataset you passed to it will be used.

from libra import client

newClient = client('path/to/dataset') 
newClient.neural_network_query('please model the median number of households')

Now, calling

newClient.info()

will return a dictionary of all the information that was generated:

dict_keys(['id', 'model', 'num_classes', 'plots', 'target', 'preprocesser', 
          'interpreter', 'test_data', 'losses', 'accuracy'])

Other queries can also be called on the same object, and will be appended to the models dictionary.

newClient.svm_query('predict the proximity to the ocean')
newClient.models().keys()

dict_keys(['regression_ANN', svm'])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for libra, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size libra-0.1.2-py3-none-any.whl (65.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size libra-0.1.2.tar.gz (57.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page