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
Contributor II
Answers
To help me understand better, are you referring to feeding weighted examples into the Decision Tree operator? If yes, you can do that with something like a Weight by Stratification operator and feed in the data into the Decision Tree operator. From there you can selec the gain_ration, information_gain, etc.
If you want to weigh attributes by gain_ratio, etc. You can use the Weight by Information Gain, Weight by Gini, etc operators.
Thanks for reply, i think i should explain more.
I did weighting on my main dataset and create datasets result in several weighitng operator.
so i have a main dataset and several datast result in weighting operator in this dataset i have important attribute only.
at second section i want to do deciosion tree weight base with different criterion.
Example: dataset resultin gain ratio>> dicision tree weight base for examample with accuracy criterion and etc.
IN Decision Tree operator there are 4 criterion but in Decision Tree weight-base operator there is not this option!
Yes, that is correct. In the Decision Tree operator you can select 4 different criterion. The Weight by <....> operators allow only one scheme of splitting.
Are there any solutions?!
You could do something like this. If you need to feed in the weights from one Weight By <...> downstream, use the Weights to Data operator.
Thans Dear Thomas for your reply
for weighting dataset there are solustion by using operatrs, but my problem is doing decision tree weight-base with different criterion!
my problem is in operator "decision tree weight base" there are not option for 4 criterion (accuracy gini index and etc).
Can you post a process, I'm not clear on what it is you want to do exactly. Thanks.
3.jpg is the process and 2 is subprocess of decision tree, problem is in decision tree weight base operator there is not optopn for criterion.
I see now. I completely forgot about the Decision Treet Weight Based operator. That operator will not let you select the splitting criteria, you have to use one of the Weight By <...> operators inside.