.. _example_plot_classification.py: ================================================= Classification and top N prediction probabilities ================================================= In this example, an image is input to an OverfeatClassifier, and the top N probability outputs are plotted as a bar graph. The red box represents the cropping window on the input - because input is forced to be 231x231, a center box of size 231x231 is taken from the larger image to perform classification. In general, the top N probability outputs represent the most likely potential classes for the OverfeatClassifier. .. image:: images/plot_classification_001.png :align: center **Python source code:** :download:`plot_classification.py ` .. literalinclude:: plot_classification.py :lines: 15- **Total running time of the example:** 19.20 seconds ( 0 minutes 19.20 seconds)