Simulated Annealing

Introduction Simulated annealing is a well-established metaheuristic, physics-based method that seeks the parameters of a model that...

top of page

Search

Gianluca Turcatel

- Jan 15, 2022
- 4 min

Simulated Annealing

Introduction Simulated annealing is a well-established metaheuristic, physics-based method that seeks the parameters of a model that...

2840

Gianluca Turcatel

- Jan 11, 2022
- 8 min

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,2180

Gianluca Turcatel

- Jan 9, 2022
- 3 min

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, 2022
- 6 min

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...

3240

Gianluca Turcatel

- Jan 2, 2022
- 5 min

Particle Swarm Optimization

Introduction Particle swarm optimization (PSO) is a very well establish computational method that optimizes a problem by iteratively...

1800

Gianluca Turcatel

- Dec 30, 2021
- 4 min

Logistic Regression From Scratch

Logistic regression is among the most famous classification algorithm. It is probably the first classifier that Data Scientists employ to...

1780

Gianluca Turcatel

- Dec 28, 2021
- 4 min

SVM From Scratch

Introduction In this article I will walk you through every detail of the linear SVM classifier, from theory to implementation. The...

6160

Gianluca Turcatel

- Dec 28, 2021
- 2 min

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...

2,4540

Gianluca Turcatel

- Dec 25, 2021
- 5 min

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, 2021
- 2 min

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...

2600

Gianluca Turcatel

- Dec 24, 2021
- 2 min

Python Tuples

Tuples store multiple items in a single variable. Tuples are immutable: values inside a tuple cannot be updated or changed. Initializing...

100

Gianluca Turcatel

- Dec 23, 2021
- 1 min

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...

16,3650

Gianluca Turcatel

- Dec 21, 2021
- 7 min

Python Basic Data Types

Python basic data types include the integer, float, string and boolean. Integers Integers are positive and negative integer numbers that...

570

Gianluca Turcatel

- Dec 19, 2021
- 2 min

OLS Formula Derivation

OLS is most famous algorithm that estimates the parameters of a linear regression model. OLS minimizes the following loss function: In...

2080

Gianluca Turcatel

- Dec 13, 2021
- 3 min

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...

850

Gianluca Turcatel

- Dec 11, 2021
- 3 min

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, 2021
- 5 min

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