I have an LSTM model on Python (Keras) in which predicts floats with long decimals. However, the predicted value has fewer decimals than expected. For instance: Input value: 41.39011366661221 Predicted value: 41.396626 Should I use something on my model? I’ve also tried to normalize the input. Unfortunately, I get the same number of output decimals. Any clue? Answer Your input
Tag: predict
Linear regression prediction based on group of data in test set
I have a simple dataset which looks like this: I created a simple LR model to train and predict the target variable “sales”. And I used MAE to evaluate the model My code works well, but what I want to do is to predict the sales in the X_test grouped by hour of the day. In the above dataset example,
How get the predicted label from a Convolution Neural Net in image classification
I have built a CIFAR-10 image classification model with Convolution Neural Net or CNNs. The model fully completed and has got around 59% accuracy, but my problem is that how to get the predicted label from the model. it can predict these classes(10): What I’m trying to say is that, for example we give the model a image of a