Parametric Models

This category groups posts on parametric models. Each post focuses on a specific algorithm. The emphasis is on understanding how these models actually work at a technical level. Here you will learn to build parametric models in Python from scratch.

cross validation

A Complete Introduction to Cross Validation in Machine Learning

A Complete Introduction to Cross Validation in Machine Learning What is Cross Validation? A natural question to ask, when building any predictive model, is how good are the predictions? Having a clear, quantitative measure for the expected model performance, is a key element to any machine learning project.   Cross validation is a family of …

A Complete Introduction to Cross Validation in Machine Learning Read More »

Build a Logistic Regression Classifier in Python

Build a Logistic Regression Classifier in Python from Scratch

Build a Logistic Regression Classifier in Python from Scratch Motivation to Build a Logistic Regression Classifier For this post, we will build a logistic regression classifier in Python. We will start from first principles, and work straight through to code implementation.  The problem of predicting a categorical variable is generally termed as classification.  Classification is …

Build a Logistic Regression Classifier in Python from Scratch Read More »

linear regression algorithm

Implement Linear Regression in Python from Scratch

A Complete Guide to Implement Linear Regression in Python from Scratch Motivation for Linear Regression For this post, I will implement Linear Regression in Python from scratch. We will start with the fundamental assumptions and mathematical foundations, and work straight through to implementation in Python.   It is no secret that the past few years have seen …

Implement Linear Regression in Python from Scratch Read More »