adam dhalla
Asher Brown Durand’s 𝘒𝘪𝘯𝘥𝘳𝘦𝘥 𝘚𝘱𝘪𝘳𝘪𝘵𝘴 (1849), a classic Transcendentalist painting that puts great emphasis on natural beauty and the meekness of man.

Breathing in the crisp autumn air and staring out over what has been his home, neighborhood, close friend, and therapist, for the past two years, Henry David Thoreau lightly closed the fragile cedar-wooded door of his cabin for the last time.

Richard Feynman was a master of learning and the patience that deep understanding requires. His depth of knowledge was exactly what made him such a brilliant teacher. US Department of Energy.

A few years ago, I remember being faced with an introductory physics problem. It was the first time I had encountered the idea of acceleration, and I was puzzled by the notation for it.

Kaggle’s famous Titanic Dataset is a great place for people to begin their journey on applied machine learning.

This article explains the probability theory that underlies the concept of Naive Bayes’, so if you’re looking for a theoretical understanding, see that.

I have a GitHub Repository of my homemade Naive Bayes Classifier here. It includes a submission to the Titanic Dataset. …

Technically not the exact type of Naive Bayes Classification I was thinking. // astroML

If you are looking for the practical implementation of a Naive-Bayes model from scratch, part II of this article explains that. I highly encourage you to read this first to understand the theory:

The rise of deep learning has to lead many of us to forget the importance (and often…

In Recursive Least Squares, new points are appearing all the time and we need to adjust our plane to fit that. Multiple Linear Regression // Mathworks

The mathematics here should be tackled with individuals who have completed an introductory linear algebra course. For those just looking for the code implementation, visit the GitHub repository here.

The Normal Equations for Least Squares are ubiquitous and for good reason. Apart from very large datasets, the Normal Equations are…

Electrolysis of Water. JSquish // Wikimedia Commons

I’ll outline my theoretical approach to the problem in python here, using only some code, and you can get an idea of what is going on. I’ll link to the code on GitHub for the actual code.

Balancing chemical equations is a common activity in high-school classrooms and beyond. …

PCA over a bivariate Gaussian distribution centered at (1,3). Image by Nicolás Guarín

This article assumes the reader is comfortable with the contents covered in any introductory linear algebra course — orthogonality, eigendecompositions, spectral theorem, Singular Value Decomposition (SVD)…

Confusion of the proper method to do Principal Component Analysis (PCA) is almost inevitable. Different sources espouse different methods, and any learner quickly deduces…

This one’s a little unusual of a post since I don’t have any stories, algorithms, math or philosophy to write about, but I spent the past week putting together a complete lecture on the mathematics that underlie neural networks.

It’s about 5 hours long, but there in the description there are timestamps to every subject covered in the video, which is in the twenties or thirties.

Here’s the syllabus of covered topics if you’d like.

Frank Rosenblatt’s beloved perceptron.

If you were to gather a group of scientists from 1962 and ask them about their outlooks on the future and potential of artificial intelligence in solving computationally hard problems, the consensus would be generally positive.

If you were to ask the same group of scientists a decade later in…

This is a continuation of my Linear Algebra series, which should be viewed as an extra resource while going along with Gilbert Strang’s class 18.06 on OCW. This can be closely matched to Lecture 16 his series.

This article requires understanding of the four fundamental subspaces of a matrix, projection…

adam dhalla

15 y old learning about machine learning, as well as a lifelong naturalist. Climate activist in Vancouver. Writer. Visit me @

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store