Nominal to Numeric
emceemouli
New Altair Community Member
Hi,
I am doing a basic Linear Regression and using Nominal to Numeric operator to convert my String data to Numeric to be used in the Linear Regression operator. I used the dummy coding configuration in the Nominal to Numeric operator which creates additional attributes with values 0 or 1 and my prediction looks good with this. But towards the end, I want to convert this back to the original format of data where I have 1 column with the different values. Can you please let me know how I could do that....
I tried the unique integers configuration in the nominal to numeric function which does not add any additional attributes or columns but the prediction is not right...Any clarity or help in this regard would be greatly helpful.
Thanks,
Chandra
I am doing a basic Linear Regression and using Nominal to Numeric operator to convert my String data to Numeric to be used in the Linear Regression operator. I used the dummy coding configuration in the Nominal to Numeric operator which creates additional attributes with values 0 or 1 and my prediction looks good with this. But towards the end, I want to convert this back to the original format of data where I have 1 column with the different values. Can you please let me know how I could do that....
I tried the unique integers configuration in the nominal to numeric function which does not add any additional attributes or columns but the prediction is not right...Any clarity or help in this regard would be greatly helpful.
Thanks,
Chandra
Tagged:
0
Answers
-
Hi,
i think the most convenient solution is to join the old data set back on the predicted data set.
~Martin0 -
Thanks0