Plot k-Nearest-Neighbor graph with 8 features?
问题 I'm new to machine learning and would like to setup a little sample using the k-nearest-Neighbor-method with the Python library Scikit . Transforming and fitting the data works fine but I can't figure out how to plot a graph showing the datapoints surrounded by their "neighborhood". The dataset I'm using looks like that: So there are 8 features, plus one "outcome" column. From my understanding, I get an array, showing the euclidean-distances of all datapoints, using the kneighbors_graph from