Deploy trained model using Octave or Tensorflow to JS application.
The idea Link to heading
When we train a model, the outcome is ussually the weights of hidden layers. All predictions will be calculated by inputs and the weights.
-> train model with training set
-> export model's weights
-> load exported weights to JS
-> normalize input data and predict