Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

TensorflowHistoryPlot

A tool for visualize Tensorflow history result.

Install

pip install tensorflow-history-plot

Use

num_classes = 5

model = Sequential([
    layers.Conv2D(16, 3, padding='same', activation='relu'),
    layers.MaxPooling2D(),
    layers.Conv2D(32, 3, padding='same', activation='relu'),
    layers.MaxPooling2D(),
    layers.Conv2D(64, 3, padding='same', activation='relu'),
    layers.MaxPooling2D(),
    layers.Flatten(),
    layers.Dense(128, activation='relu'),
    layers.Dense(num_classes)
])

model.compile(optimizer='adam',
              loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
              metrics=['accuracy'])

epochs = 10
history = model.fit(
    train_ds,
    validation_data=val_ds,
    epochs=epochs
)

from tensorflow_history_plot import show_acc
show_acc.plot(history)

Release files for tensorflow-history-plot 0.1.2

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

Source distribution (sdist)

Source distribution for tensorflow-history-plot 0.1.2
File Size Uploaded
tensorflow_history_plot-0.1.2.tar.gz 3.6 kB Details

Release files / tensorflow_history_plot-0.1.2.tar.gz

Download URL tensorflow_history_plot-0.1.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
353bb190625dad36706eedfa14b404e19a99f62b3ae86e51876e1fc0f2f45b91
BLAKE2b-256 checksum
How to use checksums
2b9faff21a3483ace3f464c43a1ec5c3a017a8fa4a591289620cf60e5cd5e76d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

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