# How to tell Rapidminer to predict 1 or 0 no other number

I have some time series analysis that i am working on. The attribute that I want to predict is either going to be 1 or 0 but when i do the out sample prediction instead of getting 1 or 0 i get random number like 2645 or -1540. what is happening?? and also how can i correct this issue. Thank you

0

## Answers

1,869UnicornIn any case, if you want to predict only to values, you should try to convert the learning problem from a regression (continuous values as output) to a classification (output categories like "0" and "1"). To do so you can apply the Numerical to Polynominal operator on your label. That converts the numbers in your label (0 and 1) to the respective strings "0" and "1"), such that RapidMiner interprets them as categories.

Best regards,

Marius