GoConqr has a new look! Let us know what you think.

Flashcards

ex2 ml lectNote

Ax H machineLearning English 19 cards

ex2 ml lectNote

Cards in this deck (19)

  1. 1multivariable hypothesis functionmultivariable hypothesis function
  2. 2multiple feature hypothesis functionmultiple feature hypothesis function
  3. 3multivariable linear regressionmultivariable linear regression
  4. 4training example X row-wisetraining example X row-wise
  5. 5hypothesis calculation = column vector of size mx1hypothesis calculation = column vector of size mx1
  6. 6cost functioncost function
  7. 7cost function - vectorized versioncost function - vectorized version
  8. 8gradient descent for multiple variablesgradient descent for multiple variables
  9. 9in other words, gradient descentin other words, gradient descent
  10. 10matrix notation gd rule can be expressedmatrix notation gd rule can be expressed
  11. 11The j-th component of the gradient is the summation of the product of two terms:The j-th component of the gradient is the summation of the product of two terms:
  12. 12product of two terms can be expressed as the product of two vectorsproduct of two terms can be expressed as the product of two vectors
  13. 13matrix notation of GD rule finally i is:matrix notation of GD rule finally i is:
  14. 14feature normalizationspeed up gradient descent by having
    each of the input values in roughly
    the same range.
    because theta will descend quickly on
    small ranges and slowly on large ranges
  15. 15feature normalization ideally"feature normalization ideally"
  16. 16goal of feature normalizationget all input vars into roughly one of
    these ranges
  17. 17two techniques to help with arefeature scaling : involves dividing the input variables by the range of the input var, resulting in new range of just 1
    mean normalization:subtracting the average value for an input variable from the values for that input var, resulting in a new average value for the input var of just 0
  18. 18implement both feature scaling x mean normalizationwhere muy_i is the avgerage of all the values for feature(i) and s_i is the range of values(max - min), or s_i is standard deviationimplement both feature scaling x mean normalization
  19. 19example x_iexample x_i

Information

Description
machineLearning Flashcards on ex2 ml lectNote, created by Ax H on 05/03/2019.
Created by
Ax H
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?