filmov
tv
Numerical Methods in Python Series - Linear Regression

Показать описание
Numerical Methods in Python Series - Linear Regression
this tutorial will show you how to implement simple linear regression case in Python along with the visualization
Linear regression is used for predictive analysis and modeling. For example, linear regression can be used to quantify the relative impacts of age, gender, and diet (the predictor variables) on height (the outcome variable). Linear regression is also known as multiple regression, multivariate regression, ordinary least squares (OLS), and regression.
in this video, the case is to predict salary based on the experience
steps:
1. open Google Colab
2. type in the code
3. create a file contain some data and save it as .csv
the data should include the predictor variable and the output like this

4. upload the .csv file to Google Colab directory
5. run the code
the green line is the prediction of salary based on the scattered data given in the .csv file.
this simple prediction with linear regression can be done for other cases. find your own case and test it with the code. good luck!
References:
thanks for watching, don’t forget to subscribe, activate the notification bell, like this video and also share it to support this channel to be able to continuously creates useful tutorials :)
leave us some comments if there is any questions and let us know what you think :)
Intro and Outro created by ProCodeCG Kids: Islamey Fawwaz Alfattan
this tutorial will show you how to implement simple linear regression case in Python along with the visualization
Linear regression is used for predictive analysis and modeling. For example, linear regression can be used to quantify the relative impacts of age, gender, and diet (the predictor variables) on height (the outcome variable). Linear regression is also known as multiple regression, multivariate regression, ordinary least squares (OLS), and regression.
in this video, the case is to predict salary based on the experience
steps:
1. open Google Colab
2. type in the code
3. create a file contain some data and save it as .csv
the data should include the predictor variable and the output like this

4. upload the .csv file to Google Colab directory
5. run the code
the green line is the prediction of salary based on the scattered data given in the .csv file.
this simple prediction with linear regression can be done for other cases. find your own case and test it with the code. good luck!
References:
thanks for watching, don’t forget to subscribe, activate the notification bell, like this video and also share it to support this channel to be able to continuously creates useful tutorials :)
leave us some comments if there is any questions and let us know what you think :)
Intro and Outro created by ProCodeCG Kids: Islamey Fawwaz Alfattan