Plotting Decision Boundary from Any Classifier in N-Dimensions

Ido Zehori
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

decision boundary projected from 4-d

--

--

Ido Zehori

Creating business impact with Data Science and Machine Learning. Leading the Data Science @ BigaBid.