.. _book_fig_chapter10_fig_LINEAR_SVM: SVM classification of LINEAR data --------------------------------- Figure 10.23 Supervised classification of periodic variable stars from the LINEAR data set using a support vector machines method. The training sample includes five input classes. The top row shows clusters derived using two attributes (g - i and log P) and the bottom row shows analogous diagrams for classification based on seven attributes (colors u - g, g - i, i - K, and J - K; log P, light-curve amplitude, and light-curve skewness). See table 10.3 for the classification performance. .. rst-class:: horizontal .. image:: ../images/chapter10/fig_LINEAR_SVM_1.png :align: center :scale: 100 .. image:: ../images/chapter10/fig_LINEAR_SVM_2.png :align: center :scale: 100 .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_LINEAR_SVM.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_LINEAR_SVM.py :lines: 14- .. raw:: html
:download:`[download source: fig_LINEAR_SVM.py] ` .. raw:: html