Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

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.