Answers.Body: <p>Other answers are good, but kiner-shah comment about Decision Trees worked the best for me due to how the data was structured. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2017-12-03T02:44:04.333Z
Answers.LastActivityDate: 2018-08-20T19:21:13.893Z
Answers.LastEditDate: 2018-08-20T19:21:13.893Z
Answers.UserDisplayName: tryonlinux
Answers.Body: <p>My money would be on something much simpler like <a href="https://en.wikipedia.org/wiki/Naive_Bayes_classifier" rel="nofollow noreferrer">Naive Bayes</a>.</p>
  
  <p>In my experience for small data NB outperforms the more exotic methods.</p>
  
  <p>Also, if you want to get more value out of your training data, try <a href="https://www.openml.org/a/estimation-procedures/1" rel="nofollow noreferrer">10 fold cross validation</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2017-11-23T01:50:54.147Z
Answers.LastActivityDate: 2018-08-19T01:23:40.097Z
Answers.LastEditDate: 2018-08-19T01:23:40.097Z
Answers.UserDisplayName: solarflare
Answers.Body: <p>You could probably use a simpler model if you do not have that much training data, but if you have a lot of training data, I would recommend taking this approach: you will want to one hot encode the states, and depending upon how many colors you have, you will either want to encode them in a color space such as RGB or one hot encode them if you do not have that many of them. Then, you will want to one hot encode the routes that you have. For code 2, it looks like it is quantitative so you can probably just normalize that row. For code 1, you will probably just have to one hot encode the letter, and normalize it. Once you have all of your training data in a quantitative form, if you have a lot of training data, and the training data is sufficiently complex, you can use a deep neural network. Otherwise, you could use a conventional single layer neural network.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-24T00:23:52.290Z
Answers.LastActivityDate: 2017-10-24T00:23:52.290Z
Answers.UserDisplayName: Aiden Grossman
Body: <p>I am having issues getting started with a multi class problem with multiple features and hoping someone could please point me in the right direction. </p>
  
  <p>I have data that is structured like this for training:</p>
  
  <pre><code>Item State Code1 Code2 Code3 Route
  ---  ---   ---   ---   ---   ---
  item1 MI   A1    33    blue  Route1
  item2 TX   A3    35    yellow Route2
  item3 NM   A4    36    green  Route3
  item4 NM   A4    37    green  Route3
  </code></pre>
  
  <p>Essentially I am trying to figure out where to even start. The goal is to know where to route the Items based on the features State, Code1,2, and 3. The route is dependent on a mix of the codes and state, and I want to build a model that says when I have code X, Y, Z and Color XX, then it is probably route 1 (some routes of course in the training data might have X, Y as codes and a different Z) </p>
  
  <p>I am assuming I will need to one-hot encode the features like the State and codes? But from there does anyone know of which type of model I should go for? I would assume a Neural Net of some kind, I've explored CNN's and Random Forrest. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-07T11:41:49.257Z
Comments.Text: What about Bayesian classifier or Decision Tree classifier?
Comments.UserDisplayName: kiner_shah
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-03T02:42:17.043Z
Comments.Text: Thanks, I've went with the Decision Tree Classifier and it seems to give me quite good results!
Comments.UserDisplayName: tryonlinux
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-03T06:47:04.293Z
Comments.Text: Superb man! That's cool! ;-)
Comments.UserDisplayName: kiner_shah
Tags: <neural-networks><convolutional-neural-networks><classification>
Title: Method for Multi-class/category?
UserDisplayName: tryonlinux
ThreadText: # Method for Multi-class/category?
  
  (Asked by: username_0 on 2017-10-07)
  
  I am having issues getting started with a multi class problem with multiple features and hoping someone could please point me in the right direction.
  
  I have data that is structured like this for training:
  
  ```
  Item State Code1 Code2 Code3 Route
  ---  ---   ---   ---   ---   ---
  item1 MI   A1    33    blue  Route1
  item2 TX   A3    35    yellow Route2
  item3 NM   A4    36    green  Route3
  item4 NM   A4    37    green  Route3
  
  ```
  
  Essentially I am trying to figure out where to even start. The goal is to know where to route the Items based on the features State, Code1,2, and 3. The route is dependent on a mix of the codes and state, and I want to build a model that says when I have code X, Y, Z and Color XX, then it is probably route 1 (some routes of course in the training data might have X, Y as codes and a different Z)
  
  I am assuming I will need to one-hot encode the features like the State and codes? But from there does anyone know of which type of model I should go for? I would assume a Neural Net of some kind, I've explored CNN's and Random Forrest.
  
  **Tags:** neural-networks, convolutional-neural-networks, classification
  
  > **Comments:**
  > **username_1**: What about Bayesian classifier or Decision Tree classifier?  
  > **username_0**: Thanks, I've went with the Decision Tree Classifier and it seems to give me quite good results!  
  > **username_1**: Superb man! That's cool! ;-)  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_0 on 2017-12-03. Score: 1 | Accepted answer
  
  Other answers are good, but username_1 comment about Decision Trees worked the best for me due to how the data was structured.
  
  
  ---
  
  ### Answer by username_2 on 2017-11-23. Score: 3
  
  My money would be on something much simpler like [Naive Bayes](https://en.wikipedia.org/wiki/Naive_Bayes_classifier).
  
  In my experience for small data NB outperforms the more exotic methods.
  
  Also, if you want to get more value out of your training data, try [10 fold cross validation](https://www.openml.org/a/estimation-procedures/1)
  
  
  ---
  
  ### Answer by username_3 on 2017-10-24. Score: 1
  
  You could probably use a simpler model if you do not have that much training data, but if you have a lot of training data, I would recommend taking this approach: you will want to one hot encode the states, and depending upon how many colors you have, you will either want to encode them in a color space such as RGB or one hot encode them if you do not have that many of them. Then, you will want to one hot encode the routes that you have. For code 2, it looks like it is quantitative so you can probably just normalize that row. For code 1, you will probably just have to one hot encode the letter, and normalize it. Once you have all of your training data in a quantitative form, if you have a lot of training data, and the training data is sufficiently complex, you can use a deep neural network. Otherwise, you could use a conventional single layer neural network.
  
  
  ---
  
  