top of page
Search
Gianluca Turcatel
Dec 23, 20247 min read
Hierarchical Clustering From Scratch
In this article I will walk you through the implementation of the hierarchical clustering method. The code can be found HERE ....
180
Gianluca Turcatel
Nov 9, 20246 min read
Ordinary Least Square: Closed Form Solution & Gradient Descent
The Jupyter Notebook for this article can be found HERE . Ordinary Least Squares (OLS) is a widely used method for estimating the...
100
Gianluca Turcatel
Jan 15, 20224 min read
Simulated Annealing
Introduction Simulated annealing is a well-established metaheuristic, physics-based method that seeks the parameters of a model that...
2900
Gianluca Turcatel
Jan 11, 20228 min read
Simple and Steepest Ascent Hill Climbing
Introduction Hill climbing is one of the simplest metaheuristic optimization methods that, given a state space and an objective function...
1,3480
Gianluca Turcatel
Jan 9, 20223 min read
Python Conditionals
Conditionals, as the name suggests, allow the conditional execution of a statement or series of statements based on the values of a...
160
Gianluca Turcatel
Jan 5, 20226 min read
K-Means Clustering From Scratch
Introduction K-Means clustering is an unsupervised machine learning algorithm that seeks to group alike data points together. It aims to...
3370
Gianluca Turcatel
Jan 2, 20225 min read
Particle Swarm Optimization
Introduction Particle swarm optimization (PSO) is a very well establish computational method that optimizes a problem by iteratively...
1950
Gianluca Turcatel
Dec 30, 20214 min read
Logistic Regression From Scratch
Logistic regression is among the most famous classification algorithm. It is probably the first classifier that Data Scientists employ to...
1990
Gianluca Turcatel
Dec 27, 20214 min read
SVM From Scratch
Introduction In this article I will walk you through every detail of the linear SVM classifier, from theory to implementation. The...
6930
Gianluca Turcatel
Dec 27, 20212 min read
SVM Margin Formula Derivation
When introduced to the SVM algorithm, we all came across the formula for the width of the margin: where w is the vector identifying the...
3,0410
Gianluca Turcatel
Dec 25, 20215 min read
Python Dictionaries
A Python dictionary is a data structure that stores items in the form of key-value pairs. The keys are unique and can only be string,...
130
Gianluca Turcatel
Dec 24, 20212 min read
Why Gradient Descent Works
Gradient descent is very well known optimization tool to estimate an algorithm's parameters minimizing the loss function. Often we don't...
2660
Gianluca Turcatel
Dec 24, 20212 min read
Python Tuples
Tuples store multiple items in a single variable. Tuples are immutable: values inside a tuple cannot be updated or changed. Initializing...
110
Gianluca Turcatel
Dec 23, 20211 min read
Derivation of the Binary Cross Entropy Loss Gradient
The binary cross entropy loss function is the preferred loss function in binary classification tasks, and is utilized to estimate the...
19,7280
Gianluca Turcatel
Dec 21, 20217 min read
Python Basic Data Types
Python basic data types include the integer, float, string and boolean. Integers Integers are positive and negative integer numbers that...
660
Gianluca Turcatel
Dec 19, 20212 min read
OLS Formula Derivation
OLS is most famous algorithm that estimates the parameters of a linear regression model. OLS minimizes the following loss function: In...
2140
Gianluca Turcatel
Dec 13, 20213 min read
Linear Regression: Linear Regression Equation & OLS
Linear regression is one of the oldest algorithm in machine learning. It is an approach for modelling the relationship between a variable...
890
Gianluca Turcatel
Dec 11, 20213 min read
Python Sets
Sets are used to store multiple UNIQUE items in a single variable. Sets are unordered data structure. Initializing sets Place items...
100
Gianluca Turcatel
Dec 9, 20215 min read
Python Lists
Lists are probably the most widely used data structure in Python. Lists store multiple items in a single variable. Moreover, lists are...
100
bottom of page