train LSTM with stroke therapist and patient data
We collected some sample data in data file to train the network.
Feel free to change the hyperparameters in config_1.json. Recommand to directly use config_2.json, since the hyperparameters are fine-tuned by Zeyang.
Uncomment the lines in run.py to save your predicted results.
Use this jupyter notebook to get a 3D graph of predicted trajectory. You can use the results I got from file: saved test&predict results
Since LSTM is good for point by point prediction but not good for long sequence prediction, we use another model called Informer to do long sequence prediction.
To use Informer, you must need to add a date column and put the feaeture that you want to predict to the rightmost column in your data file(.scv file). Right now, Informer gives proper predicted results but still not good enough.
Make sure to edit the sample data in trial2.csv before using Informer to train the network.
(the number of inputs given to the model could change depending on the number of inputs we want to use to train the model):
red line for ground truth and green line for our prediction
z_axis model loss:
y_axis model loss:
x_axis model loss:
red line for ground truth and green line for our prediction
z_axis model loss:
y_axis model loss:
x_axis model loss:
more updates later...