unable to apply learning algorithm as process document is making regular to text
I have the following process :
1.过程文档的文件(where I load the text files with respective 6 classes ) --> this connects toset Role(which changes text attribute to REGULAR attribute to allow machine learning) ->Process documents from data( I dont need the word vectors so I uncheck that, I keep text, within this process I tokenize, stopwords, stemming etc.) and then I feed this intovalidation operator. (bayes/svm)
What is happening here is in the example set the text column is going back to type "TEXT" from regular after runningProcess documents from Data. And hence I get the errorInput ExampleSet has no attributesas there are zero regular attributes. And this is causing the process to fail. I have no idea why. I try to set the roleagainafter this but then the error says "No examples in example set"
PLEASE HELP. I am stuck since two days!!! ???
1.过程文档的文件(where I load the text files with respective 6 classes ) --> this connects toset Role(which changes text attribute to REGULAR attribute to allow machine learning) ->Process documents from data( I dont need the word vectors so I uncheck that, I keep text, within this process I tokenize, stopwords, stemming etc.) and then I feed this intovalidation operator. (bayes/svm)
What is happening here is in the example set the text column is going back to type "TEXT" from regular after runningProcess documents from Data. And hence I get the errorInput ExampleSet has no attributesas there are zero regular attributes. And this is causing the process to fail. I have no idea why. I try to set the roleagainafter this but then the error says "No examples in example set"
PLEASE HELP. I am stuck since two days!!! ???
Tagged:
0
Answers
I was applying a 10-fold X-Validation on a dataset with very few examples