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

Give custom weights to my ExampleSet

EnzoSalviEnzoSalvi Member Posts: 2 Learner I
edited October 2019 in Help
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:

Answers

  • varunm1varunm1 Member Posts: 1,207 Unicorn
    Hello @EnzoSalvi

    Are these weights used to select attributes? If so, you can use "Select by weights operator.
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

  • EnzoSalviEnzoSalvi Member Posts: 2 Learner I
    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.
  • varunm1varunm1 Member Posts: 1,207 Unicorn
    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.
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

Sign In or Register to comment.