:orphan: .. _sphx_glr_auto_examples: .. _general_examples: Examples ========= The examples use data from standard machine learning libraries to demonstrate how `forestci` can be used to calculate error bars on :class:`RandomForestRegressor` and :class:`RandomForestClassifier` objects. The regression example uses a data-set 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. .. raw:: html
.. only:: html .. figure:: /auto_examples/images/thumb/sphx_glr_plot_mpg_thumb.png :alt: Plotting Regression Forest Error Bars :ref:`sphx_glr_auto_examples_plot_mpg.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/plot_mpg .. raw:: html
.. only:: html .. figure:: /auto_examples/images/thumb/sphx_glr_plot_mpg_svr_thumb.png :alt: Plotting Bagging Regression Error Bars :ref:`sphx_glr_auto_examples_plot_mpg_svr.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/plot_mpg_svr .. raw:: html
.. only:: html .. figure:: /auto_examples/images/thumb/sphx_glr_plot_spam_thumb.png :alt: Plotting Classification Forest Error Bars :ref:`sphx_glr_auto_examples_plot_spam.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/plot_spam .. raw:: html
.. only :: html .. container:: sphx-glr-footer :class: 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 `_