- Implementing linear regression, math and Python!
Today I want to explain linear regression. It is one of the simplest statistical learning models and can be implemented in only a couple lines of Python code, in an efficient manner. Being so simple however does not mean it is not useful, in fact it can be very practical to explore relationships between features in a dataset and make predictions on a target value. Therefore I think it’s important to understand how the method works and how the different parameters have an effect on the outcome.Read More
- Let's implement the CART Algorithm
This is Part 3 of my decision trees series. This time around we are going to code a decision tree in Python. So I’m going to try to make this code as understandable as possible, but if you are not familiar with Object Oriented Programming (OOP) or recursion you might have a tougher time.Read More
- The CART Algorithm
This is Part 2. of my decision tree series. Here we will see how we can build a decision tree algorithmically using Leo Breiman’s (One of the big, big names in decision trees) CART algorithm.Read More
- What are decision trees?
The first subject I want to tackle on this page is decision trees. What are they? How do they work? How can I make one?Read More
I am planning to make a small series, rangin from explaining the concept, to implementing a decision tree inference algorithm and hopefully all the way up to implementing Random Forests.
All right let’s get started.
- A quick introduction
This website is where I plan to do little write ups on subjects I find interesting, mostly machine learning related. I will aim to be as clear as possible while staying rigorous, that’s going to be a fine line to toe, but I hope I can be useful to at least a couple of you and would love to hear any feedback you have!Read More