Skip to main content

Deep Plots Build Status PyPI PyPI - Python Version

Visualize Your Deep Learning Training in Static Graphics.

Plot Loss

Why? Analyzing learning curves are a standard way to evaluate the learning performances of machine learning models. There exist several tools for creating live plots. This Python package focuses on producing beautiful static graphics only.

Currently, only plotting from Keras CSV log file format is supported.

For creating the graphics, plotnine is used which is build upon Matplotlib.

Installation

pip install deep_plots

Unfortunately, you may need to:

pip install numpy

before because a depedency implicitly assumes numpy is installed.

Usage

# create a Keras callback to log your training
csv_logger = keras.callbacks.CSVLogger('log.csv')

# train your model
model.fit(X, y, ..., callbacks=[csv_logger, ...])

# after finishing training, plot the learning curves with Deep Plots
deep_plots.from_keras_log('log.csv', 'output_dir')

Related

Contributing

If you have a question, found a bug or want to propose a new feature, have a look at the issues page.

Pull requests are especially welcomed when they fix bugs or improve the code quality.

License

MIT.

Release files for deep-plots 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deep-plots 0.1.1
File Size Uploaded
deep_plots-0.1.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deep-plots 0.1.1
File Interpreter ABI Platform
deep_plots-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.1 kB

Release files / deep_plots-0.1.1.tar.gz

Download URL deep_plots-0.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
307a332fda5e1054ec2856d5f11aa8d7ef24b983f91324f5c09f63695a70f82e
BLAKE2b-256 checksum
How to use checksums
eb0575edce1250604e44b209c3afbfb5a10b06afe62345d3ce90ee78ace272e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

Release files / deep_plots-0.1.1-py2.py3-none-any.whl

Download URL deep_plots-0.1.1-py2.py3-none-any.whl
Size 4.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
27f0b05194d24be9de37dfc270d0f3f8eb90f370ee61026dbedbbd54f7cbd44a
BLAKE2b-256 checksum
How to use checksums
d64dd49bb4e7e400ae5d881e6b2ea3e6a44e78d1be3d46eebe192d6371e1b1c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page