.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "glr_examples/methods/plot_logging_predictor_only.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_methods_plot_logging_predictor_only.py: ========================= Plot logging predictor ========================= plots the predictor :math:`X` only composed of hydro-geophysical features .. GENERATED FROM PYTHON SOURCE LINES 9-12 .. code-block:: Python # Author: L.Kouadio # Licence: BSD-3-clause .. GENERATED FROM PYTHON SOURCE LINES 13-35 .. code-block:: Python import matplotlib.pyplot as plt from watex.datasets import load_hlogs from watex.methods.hydro import Logging # get the logging data h = load_hlogs () log= Logging(kname ='k', zname='depth_top' ).fit(h.frame[h.feature_names]) # Uncomment this see all the predictor predictor X # except the categorial feature like strata # log.plot () # for a clariyy , we will plot only the logging features features = ['depth_top', 'resistivity', 'gamma_gamma', 'natural_gamma', 'sp', 'short_distance_gamma', ] log= Logging(kname ='k', zname='depth_top' ).fit(h.frame[features]) log.plot () plt.tight_layout() .. image-sg:: /glr_examples/methods/images/sphx_glr_plot_logging_predictor_only_001.png :alt: resistivity, gamma_gamma, natural_gamma, sp, short_distance_gamma :srcset: /glr_examples/methods/images/sphx_glr_plot_logging_predictor_only_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.799 seconds) .. _sphx_glr_download_glr_examples_methods_plot_logging_predictor_only.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/0.3.X?urlpath=lab/tree/notebooks/glr_examples/methods/plot_logging_predictor_only.ipynb :alt: Launch binder :width: 150 px .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_logging_predictor_only.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_logging_predictor_only.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_