Estimating memory bandwidth


By @dnl0x00 Quite often it is the case that computations (e.g. matrix multiplication) are limited by the memory bandwidth, i.e. the amount of data that can be transfered from RAM into the CPU in a specific amount of time. If we know that the computation is bounded by the memory... [Read More]
Tags: linux

Computing the determinant in Python in one (long) line of code


By @dnl0x00 Computing the determinant is one of the fundamental operations in linear algebra with many practical applications. The determinant can be used to compute the area of a parallelogram or to check if there exists a solution for a system of linear equations. The determinant is defined only for... [Read More]
Tags: python

Averaging MNIST handwritten digits with Octave


By @dnl0x00 In this post we will see how the average digit of the MNIST database of handwritten digits looks like. The MNIST database of handwritten digits (see here) is a very popular dataset used by the machine learning research community for testing the performance of learning algorithms for the... [Read More]

MNIST database of handwritten digits for Octave


By @dnl0x00 In this post you will see how to convert the MNIST database of handwritten digits via rustml into a format that can be read with Octave. The MNIST database of handwritten digits (see here) is a very popular dataset used by the machine learning research community for testing... [Read More]