The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"text dataset AML file"
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
Thanks,
Motaz K. Saad
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
newsgroups.dat
<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>
# directory type language class
../data/newsgroup/hardware text english hardware
../data/newsgroup/graphics text english graphics
Thanks,
Motaz K. Saad
Tagged:
0
Answers
I guess you mean the ExampleSetWriter?
Greetings,
Sebastian