Feature

Score - Machine Learning 2 - Features, Neural Networks - 图1
Focus on how to choose the featuresMachine Learning 2 - Features, Neural Networks - 图2.

Feature templates

Examples:

  • Length greater than …
  • Last three characters equals …
  • contains character …
  • …

    Feature vector representations

  • Array representation

    • good for dense feature
  • Map representation

    • good for sparse feature

      Hypothesis class

  • linear Machine Learning 2 - Features, Neural Networks - 图3

  • beyond linear Machine Learning 2 - Features, Neural Networks - 图4

    Feature extraction + learning

  • features cannot be too small

  • features cannot be too big

    Neural Networks

    Motivations

  • brain

  • decomposing a problem into parts

    Learning strategy

  • Machine Learning 2 - Features, Neural Networks - 图5

  • Machine Learning 2 - Features, Neural Networks - 图6

    Gradients

  • Logistic function maps (-inf, inf) to [0, 1]

  • Machine Learning 2 - Features, Neural Networks - 图7
  • Derivative Machine Learning 2 - Features, Neural Networks - 图8

    Neural Network framework

    Intermediate hidden units:Machine Learning 2 - Features, Neural Networks - 图9 Machine Learning 2 - Features, Neural Networks - 图10
    Output: Machine Learning 2 - Features, Neural Networks - 图11

learned features: Machine Learning 2 - Features, Neural Networks - 图12
I am totally lost about the fi gi, forward and backward things.

Nearest neighbors

to the nearest