.. _book_fig_chapter9_fig_rrlyrae_logreg: Logistic Regression of photometry --------------------------------- Figure 9.8 Logistic regression for RR Lyrae stars (see caption of figure 9.3 for details). With all four colors, logistic regression achieves a completeness of 0.993 and a contamination of 0.838. .. image:: ../images/chapter9/fig_rrlyrae_logreg_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_rrlyrae_logreg.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_rrlyrae_logreg.py :lines: 10- .. raw:: html
:download:`[download source: fig_rrlyrae_logreg.py] ` .. raw:: html