Additional metrics integrated with the keras NN library, taken directly from `Tensorflow <https://www.tensorflow.org/api_docs/python/tf/metrics/>`_
Project description
Additional metrics integrated with the Keras NN library.
How do I install this package?
As usual, just download it using pip:
pip install extra_keras_metrics
Tests Coverage
Since some software handling coverages sometimes get slightly different results, here’s three of them:
How do I use this package?
To import all the binary metrics just run the following:
from extra_keras_metrics import get_binary_metrics
model = my_keras_model()
model.compile(
optimizer="nadam",
loss="binary_crossentropy",
metrics=get_binary_metrics()
)
Extras
I’ve created also another couple packages you might enjoy this other one, called extra_keras_utils that contains some commonly used code for Keras projects and plot_keras_history <https://github.com/LucaCappelletti94/plot_keras_history> which automatically plots a keras training 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
Hashes for extra_keras_metrics-1.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2af298c6a60d2150a3aa1ca5c49d77e8522f51fdf4a9488d9b70ed057a83c083 |
|
MD5 | 9e1c321b97415e1cb74d807b4217d0ee |
|
BLAKE2b-256 | a75a9d97bafab33ff3f161000f045ccb18ede93c28274e47f173b913e940b7ab |