Learn to build Machine Learning Model using Python

These days, the support of libraries and frameworks is easily accessible in machine learning. But in this article, we will implement a basic machine learning project without using frameworks like Scikit-learn, Keras, or Pytorch. We will use the NumPy library for numerical operations and Matplotlib to visualize the graphs.

Evaluation Metrics for Regression Models in Machine Learning

When we build a solution for any regression problem, we compare its performance with the existing work using standard metrics, like measuring distance in meters, plot size in square feet, etc. Similarly, we need some standard evaluation metrics to evaluate two regression models. Some of them are MAE, MSE, RMSE, and R-Squared.

K-Nearest Neighbors (KNN) Algorithm

K-Nearest Neighbor is a supervised learning algorithm that can be used to solve classification as well as regression problems. This algorithm learns without explicitly mapping input variables to the target variables. It is probably the first "machine learning" algorithm, and due to its simplicity, it is still accepted in solving many industrial problems.

Boston House Price Prediction Using Support Vector Regressor

The surrounding environment highly influences house prices but machine learning techniques can help us accurately predict the house price by taking account of all important features.

Linear Regression

Linear Regression is a supervised machine learning algorithm used to solve regression problems.

Famous Loss Functions and Cost Functions in Machine Learning

Optimization of error function is the respiratory process for Machine learning algorithms. But this error function varies for classification and regression problems.

Life Expectancy Prediction Using Linear Regression

With ongoing advancements in Machine Learning and Data Science, we can precisely predict the remaining life span of a person given the essential parameters.

Classification and Regression Problems in Machine Learning

Both classification and regression deal with the problem of mapping a function from input to output. However, when it comes to classification, the output is a discrete (non-continuous) class label or categorical output. While on the other hand, when the problem is a regression problem, the output is continuous.

How exactly machine learns in Machine Learning?

In this article, we will try to find the answer to another most critical question in machine learning and artificial intelligence - How exactly the machine learns?

Subscribe to get weekly content on data structure and algorithms, machine learning, system design and oops.