Linear Regression is a method or approach for Supervised Learning.Supervised Learning takes the historical or past data and then train the model and predict the things according to the past results.Linear Regression comes from the word ‘Linear’ and ‘Regression’.Regression concept deals with predicting the future using the past data.Linear means the able to represented by a straight line on graph.Linear Regression has two things one independent variable and other dependent variable and Linear Regression is a relationship between the two.
In this article, we are going to learn about how we can implement Linear Regression with the help of Turicreate. Turicreate is Library in Python which helps the beginners to learn and implement Machine Learning Algorithm easily as well as efficiently.
Step 2: Reading the datasets.
Link for the data is=https://www.kaggle.com/mirichoi0218/insurance
Step 3: Exploring the data
Step 4: Make a Linear Regression model .
Step 5: Now evaluate the model
Step 6: Now predicting the charges according to the B.M.I of person
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.
- ML | Linear Regression vs Logistic Regression
- Data Visualization using Turicreate in Python
- Text Analysis Using Turicreate
- TuriCreate library in Python
- Guide to install TuriCreate in Python3.x
- Multiple Linear Regression using R
- Linear Regression using PyTorch
- Simple Linear-Regression using R
- Linear Regression Using Tensorflow
- ML | Multiple Linear Regression using Python
- ML | Rainfall prediction using Linear regression
- A Practical approach to Simple Linear Regression using R
- Python | Linear Regression using sklearn
- Pyspark | Linear regression using Apache MLlib
- Pyspark | Linear regression with Advanced Feature Dataset using Apache MLlib
- Linear Regression Implementation From Scratch using Python
- Linear Regression (Python Implementation)
- ML | Linear Regression
- Gradient Descent in Linear Regression
- Mathematical explanation for Linear Regression working
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.