• Gradient Descent Simply Explained (with Example)

    Gradient Descent Simply Explained (with Example)

    So… I’ll try to explain here the concept of gradient descent as simple as possible in order to provide some insight of what’s happening from a mathematical perspective and why the formula works. I’ll try to keep it short and...


  • C# Naive Bayes Basic OCR (w/ Example)

    C# Naive Bayes Basic OCR (w/ Example)

    Hello again; I’m back - once again sacrificing my time for homework so I can publish something that I find more interesting. So if anyone is still reading this: the whole article is about OCR (which stands for Optical Character...


  • Hamming Error Correction - with Example

    Hamming Error Correction - with Example

    This article will focus on Hamming codes - mainly, this represents an attempt to explain a little bit better how this method can help in detecting and correcting… 1 bit errors. This method is not really useful at “higher level”...


  • Approximating Integrals with the Gaussian Quadrature (w/ example)

    Approximating Integrals with the Gaussian Quadrature (w/ example)

    This is more like a memory dump so I will have a backup in case I’ll ever need it again. And if someone else finds this information useful, the better it is. Intro The Gaussian Quadrature is a method used...


  • Matlab/Octave Lagrange Interpolation Polynomial

    Matlab/Octave Lagrange Interpolation Polynomial

    Ok, I’ve been missing for a few days…months…almost a year. Ran out of ideas and time for new articles (thanks to the university) so I’ll publish some stuff related to numerical methods, starting with a basic interpolation method using the...


  • C# Backpropagation Tutorial (XOR)

    C# Backpropagation Tutorial (XOR)

    I’ve been trying for some time to learn and actually understand how Backpropagation (aka backward propagation of errors) works and how it trains the neural networks. Since I encountered many problems while creating the program, I decided to write this...


  • C# Perceptron Tutorial

    C# Perceptron Tutorial

    The Perceptron is basically the simplest learning algorithm, that uses only one neuron. An usual representation of a perceptron (neuron) that has 2 inputs looks like this: A 2 Inputs + Bias Perceptron Now for a better understanding: Input 1...