:orphan: .. _general_examples: Examples ========= The examples use standard machine learning datasets to demonstrate how `forestci` can be used to calculate error bars on :class:`RandomForestRegressor` and :class:`RandomForestClassifier` objects. The regression examples use a bundled copy of the `Auto MPG dataset `_ from the UC Irvine Machine Learning Repository, with features of different cars and their MPG. The classification example generates synthetic data to simulate a task like that of a spam filter: classifying items into one of two categories (e.g., spam/non-spam) based on a number of features. The dataset attribution and license are documented in ``data/README.md``. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_multiclass_thumb.png :alt: :doc:`/auto_examples/plot_multiclass` .. raw:: html
Class-probability uncertainty for multiclass forests
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_mpg_thumb.png :alt: :doc:`/auto_examples/plot_mpg` .. raw:: html
Plotting Regression Forest Error Bars
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_mpg_svr_thumb.png :alt: :doc:`/auto_examples/plot_mpg_svr` .. raw:: html
Plotting Bagging Regression Error Bars
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_spam_thumb.png :alt: :doc:`/auto_examples/plot_spam` .. raw:: html
Plotting Classification Forest Error Bars
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /auto_examples/plot_multiclass /auto_examples/plot_mpg /auto_examples/plot_mpg_svr /auto_examples/plot_spam .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_