GithubHelp home page GithubHelp logo

liangzr / pipcook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/pipcook

0.0 1.0 0.0 8.25 MB

基于 tfjs-node 的前端算法工程框架 front-end algorithm engineer platform based on tfjs-node

Home Page: https://alibaba.github.io/pipcook/

License: Apache License 2.0

JavaScript 7.87% Dockerfile 0.11% HTML 0.05% CSS 0.68% TypeScript 7.35% Python 20.19% Shell 0.17% CMake 3.40% C++ 60.17% Objective-C 0.01%

pipcook's Introduction

Pipcook

A JavaScript application framework for machine learning and its engineering.

npm npm Github Action Build Docker Cloud Build Status GitHub repo size

Why Pipcook

With the mission of enabling JavaScript engineers to utilize the power of machine learning without any prerequisites and the vision to lead front-end technical field to the intelligention. Pipcook is to become the JavaScript application framework for the cross-cutting area of machine learning and front-end interaction.

We are truly to design Pipcook's API for front-end and machine learning applications, and focusing on the front-end area and developed from the JavaScript engineers' view. With the principle of being friendly to JavaScript, we will push the whole area forward with the machine learning engineering. For this reason we opened an issue about machine-learning application APIs, and look forward to you get involved.

What's Pipcook

Pipcook can be divided into the following 3 layers from top to bottom.

Pipcook Application

It defines flexible and intuitive APIs to build machine-learning application, even though you don't know the details of algorithm.

Pipcook Core

It's used to represent ML pipelines consisting of Pipcook plugins. This layer ensures the stability and scalability of the whole system, and uses a plug-in mechanism to support rich functions including: dataset, training, validations and deployment.

Pipcook Bridge to Python

For JavaScript engineers, the most difficult part is the lack of a mature machine learning toolset in the ecosystem. To this end, we have opened up the interaction between Python and Node.js at the bottom and can easily call some missing APIs.

Quick start

Setup

Prepare the following on your machine:

Installer Version range
Node.js >= 12
Python >= 3.6
npm >= 6.1

Install the command-line tool for managing Pipcook projects:

$ npm install -g @pipcook/pipcook-cli

Initialize a project:

$ mkdir pipcook-example && cd pipcook-example
$ pipcook init

Playground

If you are wondering what you can do in Pipcook and where you can check your training logs and models, you could start from Pipboard

$ pipcook board

You will see a web page prompt in your browser, and there is a MNIST showcase on the home page and play around there. If you want to train a model to recognize MNIST handwritten digits by yourself, you could try the examples below.

See here for complete list, and it's easy and quick to run these examples. For example, to do a MNIST image classification, just run the following to start the pipeline:

$ pipcook run examples/pipelines/mnist-image-classification.json

NOTICE: the last two examples are using Boa (pipcook python bridge layer). Before run them, you need to setup Python environment. See here for more information

Documentation

Please refer to English | 中文

Developers

Clone this repository:

$ git clone [email protected]:alibaba/pipcook.git

Install lerna and TypeScript, and check:

$ lerna -v
$ tsc -v

install dependencies, e.g. via npm:

$ npm install

After the above, now build the project:

$ npm run build

Community

IRC

Download DingTalk (an all-in-one free communication and collaboration platform) here: English | 中文

Who's using it

License

Apache 2.0

pipcook's People

Contributors

rickycao-qy avatar yorkie avatar txiaozhe avatar wordcount avatar alibaba-oss avatar thejiawen avatar rajpratik71 avatar anyexinglu avatar dependabot[bot] avatar

Watchers

James Cloos 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.