The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on readonly mode from October 28  November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Predicting Integer Values Neural Network
MF_Hussain
Member Posts: 5 Learner I
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 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 UnicornYou 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