Predicting Integer Values Neural Network


in Help
Hello all!
I am a beginner at this and trying to utilize Neural Network model for prediction. I have been able to execute and get the results. My label is fixed to obtain integer values from 2 to 24, however the predicted values are taking any possible values. I wish to limit the prediction to integer values only. Can someone please guide me what to do, I read in another blog about rounding but I wish to use the network for predicting integers.
I am a beginner at this and trying to utilize Neural Network model for prediction. I have been able to execute and get the results. My label is fixed to obtain integer values from 2 to 24, however the predicted values are taking any possible values. I wish to limit the prediction to integer values only. Can someone please guide me what to do, I read in another blog about rounding but I wish to use the network for predicting integers.
0
Best Answer
-
Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635
Unicorn
You would not be able to do this as long as you are trying to predict it as a numerical label, although you could simply round the resulting prediction as you noted.
The only way to get it to predict integers would be to treat the label as a nominal class instead of numerical, in which case it would only predict the actual labels you have in the dataset.2
Answers
Lindon VenturesÂ
Data Science Consulting from Certified RapidMiner Experts