LSTM Output Output Range
ritchieng
Can’t you just multiply the output by 10?
apaszke
<SCODE>from sklearn.preprocessing import MinMaxScaler

# build a transformation to have the transformation result in the range 0..1
scaler = MinMaxScaler(feature_range=(0, 1)) 

# apply the transformation to the target values (note that fit_transform() 
# expects a 2D tensor)
transformedTarget = scaler.fit_transform(target)

# perform training
...

# apply inverse transform
origOutput = network.forward(...)
output = scaler.inverse_transform(origOutput.data.numpy())
<ECODE>
Andre_Holzner