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.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

plot_keras_history-1.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file plot_keras_history-1.0.1.tar.gz.

File metadata

  • Download URL: plot_keras_history-1.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.13.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for plot_keras_history-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8e505f5fe55862d3bba86de0e7ca95e099b817a02dcb244fc946044a63b4f784
MD5 58da641d4d47d1084670aa7f5ec650b0
BLAKE2b-256 ed846bf36cb9434b4b54a6a148c6e44c35817fb9f0aaa6eab6043a564526912f

See more details on using hashes here.

File details

Details for the file plot_keras_history-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: plot_keras_history-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.13.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for plot_keras_history-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5b35fee3333377ee953dd28001b51f8c065021502496f73e0dc679572c6a3a9
MD5 1384e9c0e60b58f0efbff8f1894e4013
BLAKE2b-256 5ca52d77edf2eb4ef2ea99058aeb40368190e800b36c29444386e3bfaab9e834

See more details on using hashes here.

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