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?”
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?”
This post aims to dissect the steps in performing logistic regression on a single sample. This also covers some explanation on cross-entropy loss.
How does kNN work? How does it find nearest neighbors? How does it work in Python?
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.
I’m aiming to write about a machine learning algorithm or concept every few weeks. This page contains a collection of my ML guides/lessons that hopefully someone might find useful.
Subscribe to My Blog
Get new content delivered directly to your inbox.