.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "glr_examples/view/plot_radviz.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code or to run this example in your browser via Binder .. rst-class:: sphx-glr-example-title .. _sphx_glr_glr_examples_view_plot_radviz.py: =================================== Plot radial (RadViz) =================================== shows each sample on circle or square, with features on the circonference to vizualize separately between target. .. GENERATED FROM PYTHON SOURCE LINES 9-12 .. code-block:: default # Author: L.Kouadio # Licence: BSD-3-clause .. GENERATED FROM PYTHON SOURCE LINES 13-15 Note that the plot expects the values to be normalized. Thus, each figure has a spring that pulls samples to it based on the value. .. GENERATED FROM PYTHON SOURCE LINES 15-30 .. code-block:: default from watex.datasets import fetch_data from watex.view import ExPlot # visualization using the yellowbrick package data0 = fetch_data('bagoue original').get('data=dfy1') p = ExPlot(tname ='flow').fit(data0) # use the basic plots # visualization using the pandas # FR means f,low rate classes = [ "FR0 $(0m^3/hr)$", "FR1$(03m^3/hr)$" ] p.plotradviz(classes= classes ) .. image-sg:: /glr_examples/view/images/sphx_glr_plot_radviz_001.png :alt: plot radviz :srcset: /glr_examples/view/images/sphx_glr_plot_radviz_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none <'ExPlot':xname=None, yname=None , tname='flow'> .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.311 seconds) .. _sphx_glr_download_glr_examples_view_plot_radviz.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: binder-badge .. image:: images/binder_badge_logo.svg :target: https://mybinder.org/v2/gh/watex/watex/master?urlpath=lab/tree/notebooks/glr_examples/view/plot_radviz.ipynb :alt: Launch binder :width: 150 px .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_radviz.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_radviz.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_