Regression with KNN

Algorithm Description

Check here for a presentation on the methods and the relevant info.

Example 1 - Classification using KNN

Dataset

The dataset of this example can be downloaded here. Save the dataset in a folder and let’s start coding.

Solution

Click here to download the solution to this example problem.

Example 2 - Regression using KNN

Dataset

The dataset of this example is the same as in the previous example.

Solution

Click here to download the solution to this example problem.


Previous section:
Next section: