项目作者: radi-cho

项目描述 :
Train model with data from Firestore, save it to Cloud Storage and make predictions in Cloud Functions - entirely using NodeJS
高级语言: JavaScript
项目地址: git://github.com/radi-cho/tfjs-firebase.git
创建时间: 2018-08-25T08:24:00Z
项目社区:https://github.com/radi-cho/tfjs-firebase

开源协议:

下载


Bag of words text classification

This workshop covers:

  • Training a model with Tensorflow.js inside Cloud Functions using data from Firestore (JavaScript only).
  • Retraining a model; Saving and loading a model.
  • Making predictions with a cloud function.

The developed model can predict if a comment is positive or negative. We train it with data from the Firestore database.
The code can be easily modified to predict star reviews, app statistics, etc.

Demo

Training

Training the model, gif

Predictions

Doing predictions with the model, gif