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
Vote Model with Attribute Selection for Inner Learners?
I'm trying to create a process which uses the Vote operator to train three inner learners. Each inner learner is trained on a different subset of the attributes using Select Attribute -- i.e., one Linear Regression on Att1 & Att2, another Linear Regression on Att3 & Att4, and a Neural Network on Att5 & Att6.
This part works fine.
However, if want to Apply the model produced by Vote, I get an errors like this:
Aug 26, 2011 12:10:40 AM WARNING: LinearRegression: The number of regular attributes of the given example set does not fit the number of attributes of the training example set, training: 2, application: 10
Presumably because the model produced by Vote doesn't recreate the Select Attributes.
How should I handle this?
(BTW, I find it almost impossible to find anything with the search function on this forum, but I apologize if this has been addressed before!)
-- Scott
This part works fine.
However, if want to Apply the model produced by Vote, I get an errors like this:
Aug 26, 2011 12:10:40 AM WARNING: LinearRegression: The number of regular attributes of the given example set does not fit the number of attributes of the training example set, training: 2, application: 10
Presumably because the model produced by Vote doesn't recreate the Select Attributes.
How should I handle this?
(BTW, I find it almost impossible to find anything with the search function on this forum, but I apologize if this has been addressed before!)
-- Scott
0
Answers
For your specific problem some manual work is necessary. You could e.g. train your models and then apply them with their preprocessing steps by hand on the same data, and Join the results together. Then with the Generate Aggregation operator you can calculate the final label. For nominal labels the "mode" aggregate function is what you are looking for.