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 Classification

kaalgotakaalgota Member Posts: 6 Contributor II
edited October 2019 in Help
I trained classification model using SVM. For testing I passed data to my trained model. If keywords of testing dataset will not match with trained classifier then what will be the prediction of my classifier? In other sense, what will be prediction for my testing dataset.

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    If you do text classification you probably used Process Documents for both your training data and your test data. Here it is important that both operators are setup completely equal. Then to make sure that you have the same keywords in both datasets you have to connect the wordlist output of the training operator to the respective input of the testing operator. That will remove all keywords from the test data that are not part of your training data. The SVM cannot make any use of the anyway since it has never seen those terms.

    Best regards,
    Marius
Sign In or Register to comment.