🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Minimal gain value

MonikaBeeeUser: "MonikaBeee"
New Altair Community Member
Updated by Jocelyn
Hi guys,
Someone could please help me in my homework? 
I need to use a csv file to make a process based on a decision tree model. Then the question is: what is the largest minimal gain value where  the C4.5 tree has not got only one leaf?
Thanks in advance!
Monika

Find more posts tagged with

Sort by:
1 - 4 of 41
    BalazsBaranyRMUser: "BalazsBaranyRM"
    New Altair Community Member
    Accepted Answer
    Hi @MonikaBeee,

    you could import your CSV file into the repository, or use Read CSV to read the data on the file in the process.
    You should mark the label attribute using Set Role.
    Then you let a Decision Tree build a model from your data.

    For determining the minimal gain you could manually iterate (e. g. start from 0.4 and go down, or from 0.001 and go up), first in larger, then in smaller steps and look at the resulting until you find the threshold you're searching for. However, other parameter settings could also influence the result. 

    A more elegant way is using a loop to automatically try different parameter values and determining the tree complexity. For example there is Decision Tree to ExampleSet in the Converters extension that you could use to find the number of rules in the tree and then filter the appropriate lines. 

    Regards,
    Balázs
    BalazsBaranyRMUser: "BalazsBaranyRM"
    New Altair Community Member
    Accepted Answer
    Igen ;-)
    BalazsBaranyRMUser: "BalazsBaranyRM"
    New Altair Community Member
    Accepted Answer
    Szia!

    Itt nem szoktunk házi feladatot megoldani, hanem olyan kérdésekre válaszolunk, amikben a dokumentáció és az elérhetô anyagok nem segítenek. Ajánlom az https://academy.rapidminer.com fölkeresését, ott megnézel néhány videót, és utána érteni fogod, amit írtam.

    Ha utána még kérdésed van, szóljál. Nem csak én vagyok magyarul tudó rapidmineres, a fejlesztô csapat egy része magyar.

    Üdv,
    Balázs
    BalazsBaranyRMUser: "BalazsBaranyRM"
    New Altair Community Member
    Accepted Answer
    Igen, de külsôs vagyok, és Bécsben élek.