GithubHelp home page GithubHelp logo

mprichard / parago-cli Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 19.0 742.19 MB

Parago is a command line tool that we use internally to rapidly build machine learning models, making it easy to customize for new use cases. https://www.npmjs.com/package/parago

License: Apache License 2.0

JavaScript 45.38% Batchfile 0.07% CSS 4.52% HTML 3.76% TypeScript 46.27%

parago-cli's Introduction

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

Inspired by the likes of Yeoman, Homebrew and even NPM, Parago allows you to dive into machine learning by doing.

Why Parago?

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.

Installation

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

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

Train Model

$ 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.

Contributing

Guidelines for contributions will also be made available this July. If you want to help, send us an email at [email protected].

Core Tenets

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.

Our tenets:

  • 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

We would love more involvement and are wide open to feedback, inspirations and ideas. Please throw a star or watch or even an issue on Parago, or throw out a tweet.

Feel free to email us at [email protected].

parago-cli's People

Contributors

kmussel avatar tylerhutcherson avatar wess avatar

Watchers

 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.