GithubHelp home page GithubHelp logo

tchigher / libra Goto Github PK

View Code? Open in Web Editor NEW

This project forked from palashio/libra

0.0 0.0 0.0 185.66 MB

Ergonomic machine learning.

Home Page: https://libradocs.github.io/

License: MIT License

Python 99.45% Dockerfile 0.27% Makefile 0.28%

libra's Introduction

Test Image 1

Ergonomic Machine Learning

Build Status Downloads Slack PyPi Release

Libra automates the end-to-end machine learning process in just one line of code. It is built for both non-technical users and software professionals of all kinds.

Resources

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 .

Alternatively you can build and use the docker image locally with:

docker build . -f docker/libra-normal/Dockerfile -t libra
docker run -v /path/to/my/data:/data -it --rm libra

Or if you have nvidia-docker installed.

docker build . -f docker/libra-gpu/Dockerfile -t libra-gpu
docker run -v /path/to/my/data:/data --gpus all -it --rm libra-gpu

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.model().keys()

dict_keys(['regression_ANN', svm'])

Demos

alt-text

libra's People

Contributors

palashio avatar sar1hak avatar anas-awadalla avatar ramyabuva avatar abx393 avatar pahuja-gor avatar jbofill10 avatar vakhshoori101 avatar abhilash2000 avatar vagif12 avatar vyathakavilocana avatar yash19062000 avatar sidakalwadi avatar umangj123 avatar a10mic avatar pragun-ananda avatar devashish9 avatar aliaryan avatar kartikchugh avatar piyush1416 avatar vraj123 avatar trigger-happy avatar tgood13 avatar pranavnt avatar rohan-rap-dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.