Code Monkey home page Code Monkey logo

dsc-ml-fundamentals-recap's Introduction

Machine Learning Fundamentals - Recap

Introduction

In this section you used a familiar model, linear regression, to learn about machine learning fundamentals.

Key Takeaways

  • Inference and prediction are two different use cases for statistical modeling
    • Linear regression can be used for both kinds of modeling
    • While inference is most interested in understanding relationships in the data, prediction is most interested in generalization, i.e. making good predictions on unseen data
  • Model validation techniques allow you to measure how well your model generalizes
    • The two most popular validation techniques are train-test split (which randomly shuffles the data into a training set and a test set) and cross-validation (which splits the data into folds and uses one fold at a time as the test set)
  • Predictive modeling involves balancing between bias and variance
    • Bias is associated with underfitting and less-complex models
      • An example of a less-complex model would be linear regression
      • A high-bias model will perform poorly on both the training and the test data
    • Variance is associated with overfitting and more-complex models
      • An example of a more-complex model would be polynomial regression
      • A high-variance model will perform well on the training data and poorly on the test data
  • Regularization is a technique to reduce overfitting
    • Two popular penalized coefficient regularization techniques are ridge regression and lasso regression
    • Lasso regression penalizes coefficients to 0, which means that it can be used for feature selection in addition to other feature selection techniques such as recursive feature elimination

dsc-ml-fundamentals-recap's People

Contributors

cheffrey2000 avatar hoffm386 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.