Machine_learning

Building a decision tree algorithm from scratch

Building a decision tree from scratch Sometimes to truly understand and internalise an algorithm, it’s always useful to build from scratch. Rather than relying on a module or library written by someone else. I’m fortunate to be given the chance to do it in 1 of my assignments for decision trees. From this exercise, I had to rely on my knowledge on recursion, binary trees (in-order traversal) and object oriented programming.