Build The Datas
Project detail
You will create 3 datasets programmatically (as shown below), each is 2-dimensional and 2-class, then using KNN you will try K values from 1 to 33 (only odd K values since your data is 2-class, binary) and plot train and test error for these 3 datasets (so 3 different plots). For each dataset choose best K programmatically and show training and test error for this best K value (again for 3 datasets). Under the train test error write your comment about the data and what you obtained based on bias-variance-tradeoff concept.