Coder Social home page Coder Social logo

Linear Regression about ai_19_ss_class HOT 4 OPEN

iammiori avatar iammiori commented on May 24, 2024
Linear Regression

from ai_19_ss_class.

Comments (4)

iammiori avatar iammiori commented on May 24, 2024

hypothesis

(linear) hypothesis

H(x) = Wx +b

from ai_19_ss_class.

iammiori avatar iammiori commented on May 24, 2024

cost function

  • = loss function, objective function
  • minimun value 찾는게 관건
  • H(x) - y
    cost = 1/m sigma from i=1 to i = m (H(x)-y)^2

결국 , 중요한거는 minimize cost

from ai_19_ss_class.

iammiori avatar iammiori commented on May 24, 2024

gradient descent algorithm

  • minimize cost function
  • 경사도가 없는 부분 (기울기 =0) 인 곳까지 내려가
  • 기울기니까 미분을 활용
  • 최소비용에 수렴할 때 까지 반복
  • 알파가 너무 크면 오버슈팅
  • 알파가 너무 작으면 최소비용에 수렴하는데 시간 너무 오래 걸려

from ai_19_ss_class.

iammiori avatar iammiori commented on May 24, 2024

convex vs non-convex

- 어느방향으로 얼마만큼 이동할 것인가

  • linear hypothesis -> convex function ( global minimum 가져)
  • non-convex function -> global minimum 보장 못해

from ai_19_ss_class.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.