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
Log the positive label value of the example set
alejandro_tobon
Member Posts: 16 Maven
Hi I want to ask, how do I log the label positive attribute of the exampleset.
I have a multy class example set, so I apply the Polynomial by Binomial Classification with the option
1 against all, this option will run a model for each label it finds on the dataset, in side it I have a descetion tree, a model applier and a log that logs information about AUC and Accuracy, but I can not find a way to log the positive value of the label.
Please let me know If I made my self clear.
Thanks
I have a multy class example set, so I apply the Polynomial by Binomial Classification with the option
1 against all, this option will run a model for each label it finds on the dataset, in side it I have a descetion tree, a model applier and a log that logs information about AUC and Accuracy, but I can not find a way to log the positive value of the label.
Please let me know If I made my self clear.
Thanks
0
Answers
you made yourself understandable, but your setup doesn't make much sense. Since you will apply the model on the training data, the performance doesn't give you a clue how good the model will perform on unseen data.
Since the operator is not designed to work this way, there's no hook to get the current positive class.
Greetings,
Sebastian
It does meke sense because inside it I have a split validation operator wich separates the data in testing and training, so this way I can measure how well this operator will perform on unseen data, or at least I can have estimation.
The goal of this model is to get the best values I can train my model for each class. It makes a lot of sense for text classification purposes, where you want to know the best parameter to set the model for classification texts.
May be I am not using it in a wrong way so I attached the code Im using, If there a better way to use it, please let me know.
Thanks
ok I see, why this setup is reasonable, but anyway I would not log the performance of each fold separately but the aggregated performance of the XValidation.
Beside from this I added three operators that might lead you the way how to extract the current label. Since I don't know your actual data and hence am not familiar with the attribute names I entered a generic "label" for the label attribute's name. You will have to adapt it in this way.
Here's the process: Greetings,
Sebastian
These tools, and your team are really amazing, this code really helped me a lot.
Thank you very much.
Greetings,
Sebastian