Re: [Scikit-learn-general] Import Data for Nearest Neighbor

2014-11-20 Thread Andy
Maybe what you are looking for is dimensionality reduction, which will give you a lower-dimensional view of the data. That way you can get a 2d representation of your data which you can plot. You can then color the samples according to the classes or decision values. You can start with PCA fro

Re: [Scikit-learn-general] Import Data for Nearest Neighbor

2014-11-20 Thread John Doe
Thanks for your response Andy. Is there another application that might help me plot this information on a graph? Really what I am looking for is perhaps to assign a numerical representation for each sample based off of the 18 attributes and then plot that numerical representation on a graph to see

Re: [Scikit-learn-general] Import Data for Nearest Neighbor

2014-11-19 Thread Andy
Hi. The example is meant to illustrate the prediction boundaries on a 2d example. You can not plot the decision boundaries like that for higher dimensions. Just predicting should work fine, though. Hth, Andy On 11/19/2014 11:56 AM, John Doe wrote: I have just started using scikit and I h

[Scikit-learn-general] Import Data for Nearest Neighbor

2014-11-19 Thread John Doe
I have just started using scikit and I have been following the example code at http://scikit-learn.org/stable/auto_examples/neighbors/plot_classification.html I am having some trouble with my data, here is the code that I have been using to import my data from csv files that I dump out of a datab