Skip to content

shuggiefisher/brain4k

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is brain4k?

brain4k, pronounced "brainfork", is a framework that intends to improve the reproducability and shareability of machine learning models. Think of it as MVC for machine learning, except with brain4k pipelines you have Data, Transforms, and Metrics.

The rules of brain4k:

  1. A brain4k pipeline lives in version control, and so can be forked, reverted and managed like other code.
  2. Each stage in the pipeline is deterministic and reproducible for a given commit
  3. brain4k is framework and language agnostic - pipe from one language to another if your execution environment supports it
  4. Every brain4k pipeline publishes performance metrics to encourage quality models to rise to the top
  5. Contribute plugins for your preferred ML framework back to the community

Sample pipelines

Wishlist

Installing brain4k

# Install Python
# easy_install pip
pip install git+https://github.com/shuggiefisher/brain4k.git

Executing a pipeline

Clone one of our sample pipelines

git clone https://github.com/shuggiefisher/kitten-or-bear-classifier.git local-path-to-repo

then, ensuring you have installed the dependencies listed in the README of the repo you just cloned

brain4k local-path-to-repo

Publishing a pipeline

  1. Push your repo somewhere public
  2. If you want others to be able to reproduce your model, change any data blobs with a "local_filename" in favour of a "url" and sha1 hash for the file.
  3. Tell us about it.

About

A DSL for machine learning pipelines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages