Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

Additional metrics integrated with the keras NN library, taken directly from `Tensorflow <https://www.tensorflow.org/api_docs/python/tf/metrics/>`_

Project description

Travis CI build SonarCloud Quality SonarCloud Maintainability Codacy Maintainability Maintainability Pypi project Pypi total project downloads

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:

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page