Startertutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.

Gradient Descent and Cost Function in Python

Categories: Machine Learning. No Comments on Gradient Descent and Cost Function in Python

In this article we are going to look at gradient descent and cost function in Python programming language.   Mean Squared Error (MSE) In our school days we used to solve linear equations. For example consider the linear equation y=2x+3. For given x values, [1,2,3,4,5] we can calculate y values as [5,7,9,11,13].   However, in case of machine […]

Read the rest of this entry »

Linear Regression with Multiple Variables in Python

Categories: Machine Learning. 2 Comments on Linear Regression with Multiple Variables in Python

In this article we will look at linear regression with multiple variables also called as multiple regression along with Python code.   Let’s use another dataset which is a variation of the dataset used in our simple linear regression article. Download the modified house price dataset. The data is as shown below.     Our new […]

Read the rest of this entry »

Linear Regression Single Variable in Python

Categories: Machine Learning. No Comments on Linear Regression Single Variable in Python

In this article we will look at what is simple linear regression, the math behind it and then see hands-on implementation of simple linear regression in Python language.   Let’s see how to predict home prices using a machine learning technique called simple linear regression. By simple we mean single variable regression. Regression is a […]

Read the rest of this entry »