Problems with Attribute Editor

spitfire_chspitfire_ch Member Posts: 38 Maven
edited November 2018 in Help

I am brand new to Rapidminer, but what I have seen so far, I like very much. The first couple of tests run smoothly, but now - that I try to use a table with more attributes, I don't manage to configure it any more with Attribute Editor. Probably I am just using it wrongly, so your help would be greatly appreciated. I have the following difficulties:
  • The first row contains the names. So I choose "use row as attribute names"
and it looks ok. However, when I save it, close it, and reopen the aml-file, I get errormessages like ... not being numeric. When I look at the table, it now contains the attribute names as names but also as row number one. I can delete the first row, but when I save and reopen the aml-file, it's there again.
  • I would like to use a binominal label having the following values: TRUE, FALSE. So I choose "label" instead of "attribute" and "binominal". I save the descriptions. When I try to open them again, I get the following error message: Cannot map another string for binary attribute: already mapped two strings! I guess this is related to the first problem, since keeps importing the first row containing the labels, and tries to add them to the valus.
So, am I doing something wrong or is this a bug? The table I try to import is saved as .csv and looks the following:


Thank you very much for your help and kind regards
- spitfire


  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    I assume, that you are using RapidMiner 4.6?
    Then I would recommend using the ExampleSource operator. This provides a Data Loading Wizard, which will guide you through the loading procedure. It finally writes a .aml file and a .dat file containing the data and its description. This then can easily be read by specifying the .aml file in the ExampleSource's attributes parameter.

  • Options
    spitfire_chspitfire_ch Member Posts: 38 Maven

    thank you very much for your reply! So, my problem was my assumption that the aml-file would provide metadata for any file (e.g. csv). Instead, it belongs to a .dat file, that does not contain any row for attribute names anymore. Ok, now I understand, thank you!


Sign In or Register to comment.