Give custom weights to my ExampleSet

EnzoSalvi
EnzoSalvi New Altair Community Member
edited November 2024 in Community Q&A
Hi. I am trying to run a decision tree algorithm on my dataset, which is highly "inaccurate" and "weak".
To solve this problem, I want to assign custom weights to my features but I don't know how to achieve that.
I found the "Weight by user specification" operator, which gives "weights" as output. What operator should get the weights object as input? How can I tell to my process that these weights are related to the ExampleSet?
This is my current situation:

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • varunm1
    varunm1 New Altair Community Member
    Hello @EnzoSalvi

    Are these weights used to select attributes? If so, you can use "Select by weights operator.
  • EnzoSalvi
    EnzoSalvi New Altair Community Member
    Thank you, seems I'm getting the right way. Just another question, is there a way to firstly assign weights "automatically" (ex: by correlation, information gained, deviation etc.) and then apply my custom weights? Thank you in advance.
  • varunm1
    varunm1 New Altair Community Member
    Yes, you can, search the operator's tab with "weight" as a keyword, you have many ways there. Here is the image taht shows some available operators.



    Hope this helps.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.