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
Trouble with Applying a Linear Regression Model with Nominal Attribute
Hi there,
I build a linear regression model with nominal attribute converted to numerical attribute (e.g. SMOKE=0, SMOKE=1). I tried both effect encoding and dummy encoding. Then I tried applying this model to a testing dataset in which the value of SMOKE attribute in all observations is 0. Rapidminer says "attributes do not match". How can I solve this?
Thanks!
Tagged:
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data ScientistHi,
you need to apply the preprocessing model you get from your first Nominal to Numerical operator. This will ensure to have the same data structure.
Best,
Martin- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany0
Answers
Thank you!
Sorry for the late reply. I did not receive any email notification.