- Load data from csv file to a list
trainDataList = list()
make all train data in one list, to enable iterating per hour of the list, thus, we have
(24 * days - 10 + 1)training data.
# n lines to be one day
- draw plot (to feel the range of the data)
# draw plot of pm2.5 range?
def lossFunction(w, x_data, y_data):
Run it for 10 iterations
lr = 0.0000000000001 # learning rate
lr = 0.0000000000001
In : lr = 0.0000000000001 # learning rate
hmmm… try greater lr
lr = 0.00000000001
The loss function is descenting faster, like around 60000 per epoch.