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
"Remove an attribute for model training and include them for visualization"
I have ExampleSet which also contains attribute "DATE".
This attribute I do not want to use for model training but I would like to use it for result visualization .
Is there any way how achieve this? Or any other ideas?
My idea was to create two chains (OperatorChain (2) and OperatorChain, see below) and apply FeatureNameFilter (2) on the first chain, which removed DATE attribute. Unfortunately, this attribute is removed also in the second testing chain.
Root[1] (Process)
+- ExampleSource[1] (ExampleSource)
+- SlidingWindowValidation[1] (SlidingWindowValidation)
+- OperatorChain (2)[1] (OperatorChain)
| +- FeatureNameFilter (2)[1] (FeatureNameFilter)
| +- W-REPTree[0] (W-REPTree)
+- OperatorChain[0] (OperatorChain)
+- Applier[0] (ModelApplier)
+- BinominalClassificationPerformance[0] (BinominalClassificationPerformance)
Thanks in advance for any ideas
radone
This attribute I do not want to use for model training but I would like to use it for result visualization .
Is there any way how achieve this? Or any other ideas?
My idea was to create two chains (OperatorChain (2) and OperatorChain, see below) and apply FeatureNameFilter (2) on the first chain, which removed DATE attribute. Unfortunately, this attribute is removed also in the second testing chain.
Root[1] (Process)
+- ExampleSource[1] (ExampleSource)
+- SlidingWindowValidation[1] (SlidingWindowValidation)
+- OperatorChain (2)[1] (OperatorChain)
| +- FeatureNameFilter (2)[1] (FeatureNameFilter)
| +- W-REPTree[0] (W-REPTree)
+- OperatorChain[0] (OperatorChain)
+- Applier[0] (ModelApplier)
+- BinominalClassificationPerformance[0] (BinominalClassificationPerformance)
Thanks in advance for any ideas
radone
Tagged:
0
Answers
you can use a ChangeAttributeRole to make the attribute special. E.g. set its role to "ignored". You can choose any name for this value. The attribute will stay in the example set, but the learner will ignore it (unless you set the role to "label" :-)).
Cheers,
Simon