Skip to main content

Default template for PDM package

Project description

metermetrics

metermetrics is for meter reading metric computing.

Given pred and true, you could get:

  • mae
  • mse
  • rmse
  • acc
  • sacc

For more details, you could find them in HRC-mCNNs: A Hybrid Regression and Classification Multibranch CNNs for Automatic Meter Reading With Smart Shell.

Install

pip install metermetrics

Usage

# create counter
from metermetrics.counter import Counter
c = Counter(epoch=50) # epoch nums. NOT EPOCH NO.
c.add_val(pred, true) # your values

c.get_mse()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metermetrics-0.2.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

metermetrics-0.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file metermetrics-0.2.0.tar.gz.

File metadata

  • Download URL: metermetrics-0.2.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for metermetrics-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0a842e1c690d5cff87202b2c8503af63ec1c6b1caed845f86a82795006a35b0d
MD5 6a0faaac3bb3686edd0fc3f76fe44e4b
BLAKE2b-256 4a71ee9911a7a66ebecd507164b719b917481d5d79941d0ad6791e80ecfd92df

See more details on using hashes here.

File details

Details for the file metermetrics-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for metermetrics-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa59bc7ae7a1915f98eba2e4cfdd7f4befbbe74cba889dca21741d9dfac07bd8
MD5 097c91d3c6df7c21fcec22ce3f57952e
BLAKE2b-256 3d577a66f84ad2758f47e647481818593392f1e310db84f86261c725abe52afa

See more details on using hashes here.

Supported by

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