Skip to main content

A simple python package to print a keras NN training history.

Project description

travis coveralls sonar_quality sonar_maintainability Maintainability Test Coverage pip

A simple python package to print a keras NN training history.

example

How do I get it?

Just type into your terminal:

pip install plot_keras_history

Usage example

import matplotlib.pyplot as plt
from plot_keras_history import plot_history
import json

history = json.load(open("tests/history.json", "r"))
plot_history(history)
plt.savefig('history.png')

Utilities

A simple handy function the package makes available is chain_histories, to (you might have guessed) chain histories.

from plot_keras_history import chain_histories

first_history = model.fit(...).history
second_history = model.fit(...).history

complete_history = chain_histories(first_history, second_history)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plot_keras_history-1.1.4.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page