Numerical Methods: Linear Regression in Python (Numpy Package) + Plotting

Publié le: 10 décembre 2020
sur la chaîne: STEM Tutorials
566
9

Don't worry if you're a beginner in Python, in this video we will show you step-by-step how to calculate the linear regression line and coefficient of determination (r^2) in Python, and then plot the final result. We focus on the numpy Python package and use the polyfit and polyval functions (analogous to Matlab functions).

We use the program Spyder (from Anaconda) to code in Python. It's free to download and easy to use. To install, check out our 10-minute installation video:    • Python: Installing Anaconda on macOS in 20...  

We also offer a free Numerical Methods (Computational Methods) course on our website. You can access it via this link: https://stem-tutorials.com/tutorials/...

Video Sections:
0:00 - Introduction
1:10 - Linear Regression Line
7:24 - Coefficient of Determination (R^2)
9:44 - Plotting Data & Regression Line


Sur cette page du site, vous pouvez voir la vidéo en ligne Numerical Methods: Linear Regression in Python (Numpy Package) + Plotting durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur STEM Tutorials 10 décembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 566 fois et il a aimé 9 téléspectateurs. Bon visionnage!