Answers.Body: <p>Your approach would definitely work. I would recommend training a variety of classifiers and comparing their performance using multiclass roc analysis. Also, think about other useful features in addition to the ones you mentioned (e.g. pos tag). Feature engineering is one of the most important factors in building good predictive models. Another thing to keep in mind is that the classes could be highly imbalanced which might influence your model's performance.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-09T18:54:55.483Z
Answers.LastActivityDate: 2016-11-09T18:54:55.483Z
Answers.UserDisplayName: chad39
Body: <p>At the moment, I am working on a project which requires me to build a naive Bayes classifier. Right now, I have a form online asking for people to submit a sentence and the subject of the sentence, in order to build a classifier to identify the subject of a sentence. But before I train the classifier, I intend on processing all entries for the parts-of-speech and the location of the subject. So my training set will be formatted as:</p>
  
  <pre><code>Sentence: Jake moved the chair.   Subject: Jake
  POS-Tagged: NNP VBD DD NN         Location: 0
  </code></pre>
  
  <p>Would this be an effective way to build the classifier, or is there a better method?</p>
  
Tags: <natural-language-processing><classification><naive-bayes>
Title: What is the most effective way to build a classifier?
UserDisplayName: Eric Schwarz
ThreadText: # What is the most effective way to build a classifier?
  
  (Asked by: username_0 on 2016-11-08)
  
  At the moment, I am working on a project which requires me to build a naive Bayes classifier. Right now, I have a form online asking for people to submit a sentence and the subject of the sentence, in order to build a classifier to identify the subject of a sentence. But before I train the classifier, I intend on processing all entries for the parts-of-speech and the location of the subject. So my training set will be formatted as:
  Sentence: Jake moved the chair.   Subject: Jake
  POS-Tagged: NNP VBD DD NN         Location: 0
  
  Would this be an effective way to build the classifier, or is there a better method?
  
  **Tags:** natural-language-processing, classification, naive-bayes
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-11-09. Score: 1
  
  Your approach would definitely work. I would recommend training a variety of classifiers and comparing their performance using multiclass roc analysis. Also, think about other useful features in addition to the ones you mentioned (e.g. pos tag). Feature engineering is one of the most important factors in building good predictive models. Another thing to keep in mind is that the classes could be highly imbalanced which might influence your model's performance.
  
  
  ---
  
  