Options

"text dataset AML file"

mksaadmksaad Member Posts: 42 Maven
edited May 2019 in Help
Hi,

What is the I/O operator that can write text dataset AML file like newsgroups.aml that comes with text plug in examples.

newsgroups.aml

<attributeset default_source="newsgroups.dat">
  <attribute
    name      ="text_source"
    sourcecol  ="1"
    valuetype  ="nominal"
  />
  <attribute
    name      ="type"
    sourcecol  ="2"
    valuetype  ="nominal"
  />
  <attribute
    name      ="language"
    sourcecol  ="3"
    valuetype  ="nominal"
  />
  <label
    name      ="class"
    sourcecol  ="4"
    valuetype  ="nominal">
    <value>atheism</value>
    <value>christian</value>
  </label>
</attributeset>
newsgroups.dat

# directory type language class
../data/newsgroup/hardware text english hardware
../data/newsgroup/graphics text english graphics

Thanks,
Motaz K. Saad

Answers

  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    I guess you mean the ExampleSetWriter?

    Greetings,
      Sebastian
Sign In or Register to comment.