zoukankan      html  css  js  c++  java
  • [coursera machine learning] Week 1

    1. machine learning 问题的分类:

    Supervised Learning: right answers given in samples

               Regression: continuous result

               Classification: discrete valued output

    Unsupervised Learning: learning about a dataset without correct answers

                Clustering: divide dataset into groups

                Non-clustering: separate different voices from a voice sample (cocktail party)

    2. Model Representation:

    training set -> learning algorithms -> hypothesis 

    x -> hypothesis -> y

    3. Cost Function:

    m is the number of samples

    4. Gradient Descent (not only for linear regression)

    n is the number of features

    minimization a function (ect. cost function)

    the alpha is learning rate

    all theta should be updated simultaneously.

    5. Normal Equation Formula

    comparison of gradient descent and normal equation formula.

    normal equation is faster with less features.

    gradient descent is faster with more features.

  • 相关阅读:
    Subway POJ
    Invitation Cards POJ
    Cow Contest POJ
    MPI Maelstrom POJ
    Wormholes POJ
    Currency Exchange POJ
    Codeforces Round #608 (Div. 2) D Portals
    AcWing 1052. 设计密码
    AcWing 1058. 股票买卖 V 状态机模型dp
    AcWing 1057. 股票买卖 IV 状态机模型dp
  • 原文地址:https://www.cnblogs.com/Gryffin/p/6687973.html
Copyright © 2011-2022 走看看