0% found this document useful (0 votes)
39 views

Answer The Following Question

This document provides instructions for a linear regression practice exercise. It asks the learner to: 1. Name and explain a linear regression problem. 2. Define what a gradient is in linear equations and what gradient descent means. 3. Explain what a coefficient is in linear regression. It then provides practice instructions involving importing libraries, loading data, plotting a scatter plot, writing code to perform linear regression, making a prediction, and improving the model using Scikit-Learn. Optional video viewing on house price prediction is also suggested. Learners are asked to submit by answering questions and sharing a public Colab notebook link.

Uploaded by

Thùy Dương
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Answer The Following Question

This document provides instructions for a linear regression practice exercise. It asks the learner to: 1. Name and explain a linear regression problem. 2. Define what a gradient is in linear equations and what gradient descent means. 3. Explain what a coefficient is in linear regression. It then provides practice instructions involving importing libraries, loading data, plotting a scatter plot, writing code to perform linear regression, making a prediction, and improving the model using Scikit-Learn. Optional video viewing on house price prediction is also suggested. Learners are asked to submit by answering questions and sharing a public Colab notebook link.

Uploaded by

Thùy Dương
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Tutorial 1

Answer the following question.


1. Name some linear regression problem and deeply explain one of them.
2. What does gradient mean in linear equation? And What is gradient descent
mean?
3. What is the coefficient in linear regression?
Practice
Linear Regression Python Practice
1. Import libraries: numpy, pandas, pyplot
2. Import the data in data_linear.csv file
3. Display the data by plot them with x axis is “mét vuông” and y axis is “giá”
Note: Try to understand what function .reshape(-1,1) does?!
4. Write the code and understanding the following code

5. Make a price prediction and print out the result for a house with 75 square
area
6. Make an improvement by researching the linear regression by sklearn
library.
OPTIONAL:
Watch the youtube video link to understand more about House prices prediction
problem and Linear Regression using Sklearn library.
https://www.youtube.com/watch?v=1Gx1y2boe_M

HOW TO SUBMIT YOUR WORK:


You will need to submit your work by answering the questions. With practice
part, you need to paste the Colab shared link.
Note: The Colab shared link need to be public shared. Otherwise, the instructor
cannot open it and it won’t be count as a finished exercise.

You might also like