# Simple Linear Regression with sklearn in Python Template

The following Simple Linear Regression with sklearn in Python template shows how to solve a simple linear regression problem using the machine learning package sklearn.. Download and unzip the .zip file in a new folder. Inside the folder you will find a .csv and a .ipynb file. The first one contains the database and the second one contains the Python code. Open the .ipynb file using Jupyter notebook. Some other related topics are Multiple linear regression with sklearn Python, Linear regression with statsmodels Python, Regression summary table with sklearn Python.
You can now download the Python template for free.
Predictions with statsmodels in Python is among the topics covered in detail in the 365 Data Science program.

## Who is it for

This is an open-access Python template in .ipynb format that will be useful for anyone who wants to work as a Data Analyst, Data Scientist, Business Analyst, Statistician, Software Engineer, and anyone who works with Python.

## How it can help you

Linear regression models can be divided into two categories - simple and multiple. This template can be used whenever we need to perform simple linear regression. What this means is that our data consists of one feature and one target. As an example, the feature can be the temperature outside, while the target can be the daily profit of an ice-cream shop.