ALL FEATURE REQUESTS HERE ARE MONITORED BY OUR PRODUCT TEAM.
VOTING MATTERS!
IDEAS WITH HIGH NUMBERS OF VOTES (USUALLY ≥ 10) ARE PRIORITIZED IN OUR ROADMAP.
NOTE: IF YOU WISH TO SUGGEST A NEW FEATURE, PLEASE POST A NEW QUESTION AND TAG AS "FEATURE REQUEST". THANK YOU.
VOTING MATTERS!
IDEAS WITH HIGH NUMBERS OF VOTES (USUALLY ≥ 10) ARE PRIORITIZED IN OUR ROADMAP.
NOTE: IF YOU WISH TO SUGGEST A NEW FEATURE, PLEASE POST A NEW QUESTION AND TAG AS "FEATURE REQUEST". THANK YOU.
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
Feature Request: Model Simulator for Grouped Models
christos_karras
Member Posts: 50 Guru
I have a "Grouped Model" that groups different model pre-processing steps, for example Normalization, Imputation, etc. I tried to use this model with the Model Simulator, but I get this error:
Process failed: Wrong input of type 'Grouped Model' at port 'model'. Expected type 'Model'.
As a workaround, I could re-apply all the pre-processing steps and use only the actual model with Model Simulator. However, this makes experimenting with different pre-processing steps (enable/disable normalization, enable/disable imputation, etc) harder because I have to duplicate code to make sure the steps are correctly applied for the model simulator.
Would it be feasible for a future version to support Grouped Models on the model simulator? Is there any technical reason why it wouldn't be supported, or is it just a missing feature?
Process failed: Wrong input of type 'Grouped Model' at port 'model'. Expected type 'Model'.
As a workaround, I could re-apply all the pre-processing steps and use only the actual model with Model Simulator. However, this makes experimenting with different pre-processing steps (enable/disable normalization, enable/disable imputation, etc) harder because I have to duplicate code to make sure the steps are correctly applied for the model simulator.
Would it be feasible for a future version to support Grouped Models on the model simulator? Is there any technical reason why it wouldn't be supported, or is it just a missing feature?
Tagged:
0
Comments
Dortmund, Germany
1. Nested grouped models: I have a first Group Model operator that is used for a sequence of pre-processing operations (normalization, PCA, etc). Then a second Group Model operator adds the prediction model. This results in a nested grouped model (a grouped model that contains another grouped model with the pre-processing steps). For this I have a workaround: I start by ungrouping the pre-processing model to get a collection of models, then I re-group this collection and the prediction model. This results in a flat group of models that works correctly.
2. Some pre-processing steps also cause the error. For example, if I have a PCA followed by Random Forest, I get an error saying that the last model must be a prediction model. With the same model but without the PCA, I don't get this error.
I tested this with the Model Simulator and Explain Predictions operators.
Best,
Ingo
Hope this helps,
Ingo
Thanks for letting us know. I just tried a couple of models including one and several preprocessing models with no problem. Can you share the set of (preprocessing models) and the chain of models you have been trying? I am happy to take a deeper look based on that.
Cheers,
Ingo
I tried a "complex" example with: