Plotting Decision Boundary from Any Classifier in N-Dimensions
1 min readNov 3, 2017
The idea of this is to try to create an algorithm that samples from a hyper-plane in n-dimensions that is generated by some classification algorithm.
I than project the original data and the samples with PCA into two dimensions and plot the decision boundary.
Unlike other algorithms I’ve come by — this one actually samples from the hyper-plane in n-dimensions and not only predict from an already projected down to a 2-d version of the data.https://github.com/IdoZehori/Decision-boundary-plot/blob/master/Decision%20boundary%20plot.ipynb