# parago

> **Parago** is a command line tool to help you rapidly create machine learning models by:

Latest version **1.0.0** (published 2019-08-07) · Apache2 license · 0 weekly downloads

## Install

```sh
npm install parago
pnpm add parago
yarn add parago
bun add parago
```

Provides the command `pgo`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-08-07 |
| First published | 2019-07-22 |
| Weekly downloads | 0 |
| License | Apache2 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | == 12.8.0 |
| Dependencies | 14 |
| Unpacked size | 56.1 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | Wess Cope wess@skafos.ai |
| Maintainers | skafos |
| Keywords | machine learning, mobile, AI, tensorflow, CoreML |

## Links

- npm: https://www.npmjs.com/package/parago
- Repository: https://github.com/skafos/parago-cli
- Issues: https://github.com/skafos/skafos/issues
- npm.io page: https://npm.io/package/parago

## Dependencies (14)

- [axios](https://npm.io/package/axios.md) ^0.19.0
- [tslib](https://npm.io/package/tslib.md) ^1
- [cli-ux](https://npm.io/package/cli-ux.md) ^5.3.0
- [express](https://npm.io/package/express.md) ^4.17.1
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.13.1
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.3
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.1.0
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1
- [@types/express](https://npm.io/package/@types/express.md) ^4.17.0
- [@types/js-yaml](https://npm.io/package/@types/js-yaml.md) ^3.12.1
- [@types/shelljs](https://npm.io/package/@types/shelljs.md) ^0.8.5
- [@types/fs-extra](https://npm.io/package/@types/fs-extra.md) ^8.0.0
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^2

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-08-07
- 0.0.4 — 2019-07-26
- 0.0.3 — 2019-07-23
- 0.0.2 — 2019-07-22
- 0.0.1 — 2019-07-22

## README

# 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](https://yeoman.io/), [Homebrew](https://brew.sh) and even [NPM](https://www.npmjs.com), 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](https://skafos.ai), 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:
```bash
$ 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**](./documentation.md).


#### List Available Generators
```bash
$ pgo list

> Available Generators.
    - turicreate-image-classifier   : classify objects within an image
```

#### Create a new Project from a Generator
```bash
# 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](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html).

Each generator will have an `environment.yml` file included.
```bash
# Create and activate the conda Python environment
$ conda env create -f environment.yml
$ conda activate turicreate-image-classifier
```

#### Load Training Data
```bash
$ pgo data load --env data_src=cats_dogs
```

#### Train Model
```bash
$ pgo train --env epochs=30
```

#### Export to Core ML Format
```bash
$ pgo export --env output=coreml
```

For more details, checkout the full command & usage [**Documentation**](./documentation.md).

_____

## 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](https://github.com/skafos/generators) 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 [hello@skafos.ai](mailto:hello@skafos.ai).

## Core Tenets
At [Skafos](https://skafos.ai), 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](https://github.com/skafos/perago/issues)** on Parago, or throw out a **[tweet](https://twitter.com/intent/tweet?text=Check%20out%20https://github.com/skafos/perago%20if%20you%20are%20looking%20for%20an%20easier%20way%20to%20build%20machine%20learning%20models%20for%20your%20apps.)**.

Feel free to email us at [hello@skafos.ai](mailto:hello@skafos.ai).

---
_Source: https://npm.io/package/parago · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
