문제

Hi I'm new to Weka and using the explorer to try to do some text classification.

I have a training set which I have tested using the "word to string vector filter" and an "attribute selection" filter. However I want to be able to test the classifier on unseen data and so have tried using the "supplied test set option". After reading around I realise that the word to string vector filter has to be applied at the same time to both sets so I have used the "Filtered Classifier" option and proceeded to do this. However I cannot seem to apply the Attribute Selection filter as well??

If I am going about this the wrong way please let me know? Or if there is an option to apply or stack multiple filters when classifying that'd be great. Cheers

도움이 되었습니까?

해결책

You have to chain filters (StringToWordVector and AttributeSelection) using MultiFilter, they behave as a single filter you can put into a FilteredClassifier. Check a detailed tutorial at Text Mining in WEKA Revisited: Selecting Attributes by Chaining Filters.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top