import matplotlib.pyplot as plt
import json
files = ['log_twitter_25.json', 'log_twitter_200.json', 'log_unsup_25.json',
    'log_unsup_200.json']
for file in files:
    with open(file) as openfile:
        data = json.load(openfile)
    plt.plot(data['training']['loss'])
    plt.plot(data['validation']['loss'])
    plt.show()
    plt.plot(data['training']['accuracy'])
    plt.plot(data['validation']['accuracy'])
    plt.show()

c369db6e3bf551d02b5387c1ca94f0d7fa4de694
<mask token>

<mask token>
for file in files:
    with open(file) as openfile:
        data = json.load(openfile)
    plt.plot(data['training']['loss'])
    plt.plot(data['validation']['loss'])
    plt.show()
    plt.plot(data['training']['accuracy'])
    plt.plot(data['validation']['accuracy'])
    plt.show()

<mask token>
files = ['log_twitter_25.json', 'log_twitter_200.json', 'log_unsup_25.json',
    'log_unsup_200.json']
for file in files:
    with open(file) as openfile:
        data = json.load(openfile)
    plt.plot(data['training']['loss'])
    plt.plot(data['validation']['loss'])
    plt.show()
    plt.plot(data['training']['accuracy'])
    plt.plot(data['validation']['accuracy'])
    plt.show()

import matplotlib.pyplot as plt
import json
files = ['log_twitter_25.json', 'log_twitter_200.json', 'log_unsup_25.json',
    'log_unsup_200.json']
for file in files:
    with open(file) as openfile:
        data = json.load(openfile)
    plt.plot(data['training']['loss'])
    plt.plot(data['validation']['loss'])
    plt.show()
    plt.plot(data['training']['accuracy'])
    plt.plot(data['validation']['accuracy'])
    plt.show()
