A simple python package to print a keras NN training history.
Project description
A simple python package to print a keras NN training history.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plot_keras_history-1.0.0.tar.gz
.
File metadata
- Download URL: plot_keras_history-1.0.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2aa43bf9fc5511fd6199c700971707642c30ce2a10062b5423b0d2f503f480e |
|
MD5 | 70998799f4a03b998fedf85f58bee6fa |
|
BLAKE2b-256 | 2f4b5c0b7392833e3a91dfc47f84079d9c1fbc4fd335b4a5f1ac384156b5d716 |
File details
Details for the file plot_keras_history-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: plot_keras_history-1.0.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1801f6a732f4429ac519c425cf6f13481e3d8ca0f8feeca45e4ded77bec9d19 |
|
MD5 | 9cb9ae447e665dea06a1e58885b922c4 |
|
BLAKE2b-256 | 64385c80902bb6f73d5d83a8a9b0b9085d53d64118d71041b943dc5e66840f85 |