Code for training in Azure Machine Learning Studio. Trained an LSTM Model with TensorFlow and Keras to predict future trends of Photosynthetically Active Radiation, written for 2021 NASA Space Apps Challenge: You Are My Sunshine.
Keras, Tensorflow, NumPy, Pandas, PlotLy Written with Python 3.6 but may be ok to run with higher versions.
The following should be run in the folder of code to ensure successful build and run:
(Please note that this build is for MacOS/Unix Based Systems)
python3 -m venv AzureLSTM-env
source tutorial-env/bin/activate
sudo pip install tensorflow
sudo pip install numpy
sudo pip install keras
sudo pip install plotly
python Sunshine_LSTM.py
Should be able to run directly after ensuring all packages were downloaded in virtual-env of selection Creates .h5 files after training with given files manually downloaded from NASA POWER Project, then moved to AzureServer for further use in the react-native app.