The exponent says how many times to multiply a number. Example: 25 = 32 The exponent here is 5. The logarithm says what exponent was used to multiply a number in order to get another number. Example: log2(32) = 5 5 is the exponent that was used to multiply 2 to get 32. Exponent andContinue reading “What is the relationship between exponent and logarithm?”

# Author Archives: D.M. Heli

## What is a loss function?

A loss function is a function that calculates the difference between an estimate and the true value of some data. In machine learning, it is often called the “cost function” – a calculation of the cost of the prediction of a machine learning algorithm from some target value. It is used in optimization problems whereContinue reading “What is a loss function?”

## Soft Intro to Logistic Regression

This post aims to dissect the steps in performing logistic regression on a single sample. This also covers some explanation on cross-entropy loss.

## Love your k Nearest Neighbors : The Basics

How does kNN work? How does it find nearest neighbors? How does it work in Python?

## Support Vector Machines for Classification

In this post, I’ll discuss what a hyperplane is, what SVM does, and the basics of how to get the optimal hyperplane in both linear and non-linear data.