January 2024
Beginner to intermediate
272 pages
6h 25m
English

In k-NN, we looked at the neighborhood of the data point to be predicted. Here again we will look at neighborhoods, but in a more sophisticated way. This approach will be easy to implement and explain, lends itself to nice pictures, and has more available hyperparameters with which to fine-tune it.
Here we will introduce decision trees (DTs), one of the mainstays in the ML field. Besides being used directly, DTs are also the basis for random forests and gradient boosting, which we will cover in later chapters.
Though some ideas had been proposed earlier, the DT approach became widely ...
Read now
Unlock full access