User 2465 | 10/23/2015, 7:08:33 PM
I have a set of words that were assigned to a variable called selected_words... here the code:
selected_words = ['awesome', 'great', 'fantastic', 'amazing', 'love', 'horrible', 'bad', 'terrible', 'awful', 'wow', 'hate']
I want to perform a logistic classifier on a field called 'wordcount' based on the set of words that are contained on the selectedwords variable. I am using the following code and I am getting an error...
selected_words_model = graphlab.logistic_classifier.create(train_data,
My problem is that all the examples that I have seen related to the logistic_classifier is only one column as a target. As you can see, I have a set of columns as a target.
Thank you very much.