Code Monkey home page Code Monkey logo

dsc-1-11-19-section-recap-summary-online-ds-sp-000's Introduction

Section Recap

Introduction

This short lesson summarizes the topics we covered in section 11 and why they'll be important to you as a data scientist.

Objectives

You will be able to:

  • Understand and explain what was covered in this section
  • Understand and explain why this section will help you become a data scientist

Key Takeaways

Who knew that drawing a line (or a plane) of best fit could be so complicated?! In this section we spent a lot more time looking into the logistics of creating and testing an effective model. Key takeaways:

  • It often makes sense to perform a multiple linear regression with multiple predictor variables for the target variable
  • Once you start using multiple predictors, you need to ensure that multicolinearity is not an issue for the variables you picked
  • With multiple predictors you may also need to perform feature scaling and nomralization to ensure a variable with large values doesn't have undue influence on your predictions
  • When you have a categorical predictor variable, you'll either need to perform label encoding or create a new binary variable for each category using one-hot encoding
  • Both Statsmodel and Scikit-learn have powerful built in methods for performing linear regressions
  • Scikit-learn has some built in capabilities for feature selection to determine the most predictive features in your data set
  • When performing modeling, it's always important to split your data into training and testing sets to validate that your model works well on "new" data
  • k-fold cross validation is a great way to run multiple train-test splits on your data set to maximize the quality of your predictions for a given set of data

dsc-1-11-19-section-recap-summary-online-ds-sp-000's People

Contributors

peterbell avatar loredirick avatar

Watchers

James Cloos 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.