Skip to content

Commit 74e225a

Browse files
committed
started work on linearly separable data
1 parent caf1876 commit 74e225a

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

tutorial/general_concepts.rst

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,13 +644,30 @@ Here are some common applications of clustering algorithms:
644644
Linearly separable data
645645
-----------------------
646646

647-
- TODO: explain the concept using the 2D projected iris data
648-
649647
- Play with the interactive example from the ``examples`` folder of the
650-
``scikit-learn`` distribution:
648+
``scikit-learn`` distribution::
651649

652650
% python $SKL_HOME/examples/applications/svm_gui.py
653651

652+
653+
654+
.. figure:: images/linearly_separable_data.png
655+
:scale: 75 %
656+
:align: center
657+
658+
Linear Support Vector Machine trained to perflectly separate 2
659+
sets of data points labeled as white and black in a 2D space.
660+
661+
.. figure:: images/non_linearly_separable_data.png
662+
:scale: 75 %
663+
:align: center
664+
665+
Support Vector Machine with gaussian kernel trained to separate
666+
2 sets of data points labeled as white and black in a 2D space.
667+
This dataset would not have been seperated by a simple linear
668+
model.
669+
670+
654671
- Exercise: find a model that is able to solve the XOR problem using the GUI
655672

656673

47 KB
Loading
52.4 KB
Loading

0 commit comments

Comments
 (0)