"Problem with Feature Selection"

vitalimariovitalimario MemberPosts:6Contributor II
edited June 2019 inHelp
Hi,


I am trying to perform Feature Selection, then apply the reduced subset of features to a J48 tree and finally present the tree to the output.

As you will see i have the 'create_complete_model option' checked
Unfortunately *all* tutorials of feature selection in RM use either SVM or NearestNeigbours models which both do not return an output!

Here is my setting :
































What am i doing wrong ? ???

Answers

  • steffensteffen MemberPosts:347Maven
    Hello

    I am afraid I got you wrong, but:
    The decision tree you create is used within the "performance measurement"-process to determine the (sub-)optimal set of features. If you want to create a Decision Tree with the best feature subset you must add something like this (at top level):





    hope this was helpful,

    Steffen
  • vitalimariovitalimario MemberPosts:6Contributor II
    你好,史蒂芬,

    Let me be more specific:)

    Originally i would like to know whether the setup on the RM tutorial 12_WrapperValidation.xml can use a J48 decision tree (instead of JMySVMLearner and Regression Problem) and show the results (ie the Decision Tree) to the output : I changed the setup and i am not able to get the resulting Final tree (after feature selection) to the output :

    Here is the final setup :

























































    Thanks!

  • steffensteffen MemberPosts:347Maven
    Hello again

    Hm .. ok I think I got it now. Since there is no option to build a complete model, you cannot do it "in the same process".

    You just have to repeat this part:
































    因为这正是“build complete model" does/would do.

    hope this was helpful,

    Steffen
  • vitalimariovitalimario MemberPosts:6Contributor II
    Dear Steffen,



    It worked GREAT! Thanks again:)
Sign InorRegisterto comment.