English feliratok

← Entropy Calculation Part 1 - Intro to Machine Learning

Beágyazókód kérése
5 Languages

Showing Revision 3 created 05/25/2016 by Udacity Robot.

  1. Now let's do an example.
  2. So here's your reminder of the formula and suppose this is my data.
  3. I have four data points and for each data point I have three features,
  4. the grade of the train, the bumpiness, whether there's a speed limit,
  5. and then the speed that the car goes.
  6. And i'm just making up some data here.
  7. So let's start out at the top of the decision tree here.
  8. So I have two slow examples and two fast examples.
  9. Slow, slow, fast, fast.
  10. So the first question is, what's the entropy of this node?
  11. So let's do this piece by piece.
  12. How many of the examples in this node are slow?
  13. Write your answer here.