Giter VIP home page Giter VIP logo

calculus-and-gradient-descent---recap's Introduction

Calculus and Gradient Descent - Recap

Introduction

Congratulations! You have learned about one of the most fundamental concepts at the core machine learning, calculus. In this section, you started with the basics of derivatives and moved all the way to coding out gradient descent with multiple variables.

Key Takeaways

In this section, we both learned how to traverse a cost function graph to find the local minima to solve a linear regression by using gradient descent and covered some of the foundational calculus that will help you to understand many of the other machine learning models you'll encounter as a professional data scientist.

Key takeaways include:

  • A derivative is the "instantaneous rate of change" of a function - or it can be thought of as the "slope of the curve" at a point in time
  • A derivative can also be thought of as a special case of the rate of change over a period of time - as that period of time is zero.
  • If you calculate the rate of change over a period of time and keep reducing the period of time, it usually tends to a limit - which is the value of that derivative
  • The power rule, constant factor rule, and addition rule are key tools for calculating derivatives for various kinds of functions
  • The chain rule can be a useful tool for calculating the derivate of composite functions
  • A derivative can be useful for identifying local maxima or minima as in both cases, the derivative tends to zero
  • A cost curve can be used to plot the values of a cost function (in the case of linear regression) for various values of offset and slope for the best fit line.
  • Gradient descent can be used to move towards the local minimum on the cost curve and thus the ideal values for the y-intercept and slope to minimize the selected cost function when performing a linear regression.

calculus-and-gradient-descent---recap's People

Contributors

cheffrey2000 avatar fpolchow avatar hoffm386 avatar loredirick avatar peterbell avatar

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.