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 read-only 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
Nominal to Numeric
emceemouli
Member Posts: 2 Contributor I
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
0
Answers
i think the most convenient solution is to join the old data set back on the predicted data set.
~Martin
Dortmund, Germany