Parago - Machine Learning Generator
Parago is a command line tool to help you rapidly create machine learning models by:
- curating a list of community-submitted templates (called Generators)
- abstracting common machine learning patterns and tasks into unified commands
Given the wide array of tools and technologies created to drive ML solutions, building & deploying models for apps should be simpler. At Skafos, we are tired of losing countless hours:
- learning different training frameworks
- fighting configuration and infrastructure
- customizing every aspect of each new ML solution ...why start from scratch?
If you are like us, you would rather focus that time working on your apps. So we built Parago.
Install with npm:
$ npm install -g parago
Image Classification Example
Use Parago to create an image classifier that can identify cats and dogs. You can also skip right to the command & usage Documentation.
List Available Generators
$ pgo list> Available Generators.- turicreate-image-classifier : classify objects within an image
Create a new Project from a Generator
# Create project and enter the directory$ pgo create myImageClassifer -g turicreate-image-classifier$ cd myImageClassifier
Environment setup is a hard problem to solve globally, especially when it comes to machine learning projects. Until we have a better solution (give us some ideas/feedback), we leave this up to the user to setup a virtual environment using Conda.
Each generator will have an
environment.yml file included.
# Create and activate the conda Python environment$ conda env create -f environment.yml$ conda activate turicreate-image-classifier
Load Training Data
$ pgo data load --env data_src=cats_dogs
$ pgo train --env epochs=30
Export to Core ML Format
$ pgo export --env output=coreml
For more details, checkout the full command & usage Documentation.
Submitting Your Own Generator
Parago is built on generators submitted by experts in the community. Each generator includes a set of commands, demonstrated above, and can be customized to meet the needs of your use-case. Want to submit a generator for others to pull and use? Great!
Clone the Generator Repo and submit a PR. Follow the structure of the examples listed.
Guidelines for contributions will also be made available this July. If you want to help, send us an email at firstname.lastname@example.org.
At Skafos, we are a building tools for developers using community supported tools. We want to give back to the community that has helped us get to where we are. Since we released this under Apache2, we're hoping to work with YOU to develop a tool that we not only need, but believe will help others on the journey as well.
- Easy-to-use: Focus on building apps, not data science
- Familiarity: No wasted hours learning a new tool
- Learn-as-you-build: Ship apps while you learn
- Extensive Library: Have many model generators to choose from
- Ready To Deploy: Export to Core ML, TFLite and others formats to use in your apps
Get In Touch
Feel free to email us at email@example.com.