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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df794333f1a872b145d22cc8f0331cd81a1494fc54b5a8bc69507f844efab5c6 |
|
MD5 | 984026f19902c54e0610a2acc2acb3fc |
|
BLAKE2b-256 | 30c763db7d6524088261a33854f57215fcef852a2775a031b5402961b732c5ef |