8000 MLBlocks/examples at master · MLBazaar/MLBlocks · GitHub
[go: up one dir, main page]

Skip to content 7FFF

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

MLBlocks Examples

This folder contains Python code, Jupyter Notebooks and JSON examples to demonstrate MLBlocks functionaliry.

Within this folder you will find:

  • primitives: Example primitive JSONs to demonstrate different MLBlocks functionalities.
  • pipelines: Example pipeline JSONs to demonstrate different MLBlocks functionalities.
  • tutorials: Collection of Jupyter Notebooks to show the usage of different MLBlocks functionalities.

Requirements

In order to run the examples contained in this folder you should have pip installed on your system .

Optionally, also install and activate a virtualenv to run them in an isolated environment.

Usage

In order to run these tutorials on your computer, please follow these steps:

  1. Clone this github repository:
git clone git@github.com:MLBazaar/MLBlocks.git
  1. (Optional) Create a virtualenv to execute the examples in an environment isolated from the rest of your computer:
pip install virtualenv
virtualenv -p $(which python3.6) mlblocks-venv
soucre mlblocks-venv/bin/activate
  1. Enter the repository and install the dependencies
cd MLBlocks
make install-examples

This will install MLBLocks as well as MLPrimitives and Jupyter.

  1. Enter the examples folder and start a Jupyter Notebook:
jupyter notebook
  1. Point your browser at the link shown in your console and run the examples from the examples/tutorials folder.
0