[PYTHON] Graph of the history of the number of layers of deep learning and the change in accuracy

Graph of development of deep learning

As a graph showing the development of deep learning, I often see a graph showing the change in accuracy and the transition of the number of layers in ILSVRC, so I made it.

ilsvrc_winner.png

python code

import matplotlib.pyplot as plt


def plot_res():
    plt.rcParams["font.family"] = "Arial"
    plt.rcParams["font.size"] = 18
    fig = plt.figure()

    c = ["skyblue", "blue"] * 5
    depths = [8, 8, 22, 152, 205]
    years = list(range(2012, 2017))
    errors = [16.4, 11.7, 7.3, 6.7, 2.9]
    a = 0.2

    ax1 = fig.add_subplot(111)
    depth_bars = ax1.bar(years, depths, color=c[0], tick_label=years)
    for year, depth in zip(years, depths):
        ax1.text(year, depth, depth if depth < 200 else "200>", ha="center", va="bottom", color="black", fontsize=14)
    ax1.set_ylim(0, 230)
    ax1.set_ylabel("Depth of Neural Networks")

    ax2 = ax1.twinx()
    error_line = ax2.plot(years, errors, color=c[1], linewidth=2)
    for year, error in zip(years, errors):
        ax2.text(year - a, error + 1, error, color="black", fontsize=14)
    ax2.set_ylim(0, 20)
    ax2.set_ylabel("Error Rate")

    plt.title("Winner in ILSVRC")
    plt.tight_layout()
    plt.show()

plot_res()

Recommended Posts

Graph of the history of the number of layers of deep learning and the change in accuracy
Count the number of parameters in the deep learning model
Graph the change in the number of keyword appearances per month using pandas
[Machine learning] "Abnormality detection and change detection" Let's draw the figure of Chapter 1 in Python.
Count the number of Thai and Arabic characters well in Python
Othello-From the tic-tac-toe of "Implementation Deep Learning" (3)
Meaning of deep learning models and parameters
Visualize the effects of deep learning / regularization
Othello-From the tic-tac-toe of "Implementation Deep Learning" (2)
Change the saturation and brightness of color specifications like # ff000 in python 2.5
Output the number of CPU cores in Python
The story of doing deep learning with TPU
plot the coordinates of the processing (python) list and specify the number of times in draw ()
Change the font size of the legend in df.plot
A memorandum of studying and implementing deep learning
Divides the character string by the specified number of characters. In Ruby and Python.
How to count the number of elements in Django and output to a template
Deep Learning from scratch The theory and implementation of deep learning learned with Python Chapter 3
Change the color of Fabric errors and warnings
Find the number of days in a month
Build a python environment to learn the theory and implementation of deep learning
Parallel learning of deep learning by Keras and Kubernetes
How to install the deep learning framework Tensorflow 1.0 in the Anaconda environment of Windows
What happens if you graph the number of views and ratings/comments of the video of "Flag-chan!" [Python] [Graph]
[Python] Change the text color and background color of a specific keyword in print output
Python vs Ruby "Deep Learning from scratch" Chapter 1 Graph of sin and cos functions
[Python] Representing the number of complaints from life insurance companies in a bar graph
Supervised learning of mnist in the fully connected layer, clustering and evaluating the final stage
Investigation of the relationship between speech preprocessing and transcription accuracy in the Google Cloud Speech API
Bayesian inference concept (3) ... Calculation of change points in the number of emails received by PyMC3
Check the processing time and the number of calls for each process in python (cProfile)
How to get the number of digits in Python
I installed and used the Deep Learning library Chainer
relation of the Fibonacci number series and the Golden ratio
Omit the decimal point of the graph scale in matplotlib
About testing in the implementation of machine learning models
Get the size (number of elements) of UnionFind in Python
Techniques for understanding the basis of deep learning decisions
Othello ~ From the tic-tac-toe of "Implementation Deep Learning" (4) [End]
DNN (Deep Learning) Library: Comparison of chainer and TensorFlow (1)
Collection and automation of erotic images using deep learning
Deep learning 1 Practice of deep learning
A server that returns the number of people in front of the camera with bottle.py and OpenCV
[For beginners] I want to explain the number of learning times in an easy-to-understand manner.
(Important inner product in deep learning.) About the relationship between inner product, outer product, dot product, and numpy dot function.
Does TensorFlow change the image of deep learning? What I thought after touching a little
"Deep Learning from scratch" Self-study memo (Part 8) I drew the graph in Chapter 6 with matplotlib
[Deep Learning from scratch] Implementation of Momentum method and AdaGrad method
How to find the optimal number of clusters in k-means
Maya | Find out the number of polygons in the selected object
I tried the accuracy of three Stirling's approximations in python
Examine the margin of error in the number of deaths from pneumonia
The result of Java engineers learning machine learning in Python www
Survey on the use of machine learning in real services
Examination of Forecasting Method Using Deep Learning and Wavelet Transform-Part 2-
Analyzing data on the number of corona patients in Japan
What I'm glad I studied in 2015 and what I'm thinking of learning in 2016
[Reinforcement learning] Explanation and implementation of Ape-X in Keras (failure)
Have the equation graph of the linear function drawn in Python
Count the number of characters in the text on the clipboard on mac
Where are matrix products and inner products used in deep learning?