DEV Community

Discussion on: Forecasting in Browser with TensorFlow.js

Collapse
 
jokey82923810 profile image
Tamil Sardarji From SriLanka (TSFSL)

Quick question.. every example uses ONE variable ..

Lets assume I want to use LSTM and predict a value Y (say closing price of next day) based on 2 or 3 features (say open , high and close of today), How is that done? (The model/layer/tensor/compile/fit/predict.

And lets assume I then want to add to that code, an additional feature volume.. how can that "add" be done?

Can you give an example.. please javascript/node etc.. I can do this in python alright.