"Problem inbedding operator within Feature Selection"

RobertoRoberto MemberPosts:13Contributor II
edited June 2019 inHelp
Hi guys and gals,

I'm trying to use the Feature Selection operator to whittle down a list of the best attributes in a dataset. However, no matter what supervised learner operator I use to learn on within Feature Selection, I get an error message: "Error in: Binary2MultiClassLearner (Binary2MultiClassLearner) Input example set has no attributes Learning methods require the input example sets to have at least one attribute. If this not the case, applying these operators is pointless. Certain operators like feature selection operators may switch off all attributes. If this happens, learning schemes cannot be applied."
The problem is my dataset has 997 attributes (according to the data view if I place a breakpoint just prior to stepping into the Feature Selection operator). Do I have something set up wrong? My code is attached.

Thanks for the help!
Roberto

[attachment deleted by admin]

Answers

  • RobertoRoberto MemberPosts:13Contributor II
    I'm copying and pasting my code in because I don't seem to see it attached????



















































    <参数键= " root_relative_squared_error”价值e="true"/>











  • RobertoRoberto MemberPosts:13Contributor II
    Ok, I think I figured out my own problem...

    我的猜测是,因为我在做一个selec向前发展tion which initially assumes no attributes are relevant, the inner operator wasnt being passed any attributes initially to train on, hence the crashing. As soon as I switched to backwards selection, it started working swimmingly, which makes sense (sort of).

    So then my question becomes how would one set up feature selection to work with forward selection?

    Roberto
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:2,531Unicorn
    Hi Roberto,
    I've executed your process, but had to replace the data preprocessing by an exampleSetGenerator. There weren't showing up any error messages. Might this problem result from your data set? Which version of rapidMiner do you use? I tried with the latest stable cvs version.

    Greetings,
    Sebastian
Sign InorRegisterto comment.