classification

onyourmark
onyourmark New Altair Community Member
edited November 5 in Community Q&A
I followed a tutorial on text mining. They had a separate file for each record and then to indicate the classification for each record they placed the files in two separate directories *pos* and *neg*.
Is there a way to have the records all in one excel sheet with the classification variable as just an extra (named) column?
Thanks!
Tagged:

Answers

  • fischer
    fischer New Altair Community Member
    Yes. You load the data using a regular ExcelExampleSource (flar your label column as label!), then you use a StringTextInput operator which will take each record as an individual text.

    Cheers,
    Simon