Closed dvalcarce closed 11 years ago
please rebase against master - this patch has conflicts.
Would it be possible to show contour lines in the figure too? It would be great to see the actual decision boundary...
Sorry for the conflicts.
I added contour lines. However, they seem a bit confusing to me.
please drop demos/init.pyc from your submit
Sorry for the .pyc files.
I am using the same JS contour library (conrec.js) I used in binary classification but it doesn't look very nice with a linear classifier.
closing for the time being
I've just run the demo and taken a look. IMHO it would look nicer if every time you do "classify" a new perceptron is initialized and the separating hyperplane plotted. This idea doesn't fit though with the contour plots thing -- contour plots for several classifiers together may look really confusing.
Maybe it can be divided into two parts (two tabs?), one of them that shows one classifier with the contour plots and another that can show several perceptrons.
Implements Perceptron demo as @iglesias suggested (https://github.com/shogun-toolbox/shogun/pull/1005).