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.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: metermetrics-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 4d3b701ac9d1e14b75b29c481be29a6c757551ae16d85a701c19d8a2b7f7f470
MD5 4605cb8d181ee71ae6b70130e8d53bec
BLAKE2b-256 4bafd735393e814b3b6e97667a807eae13ace182f552880dc461959795eee41a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metermetrics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fd4662d41dd1104e8406f4bad8d4d2c3277ee1d6dcc699173912594ffc0c27b
MD5 5865d918e8612e6d3f61a483743ad073
BLAKE2b-256 5af182b78e3f6e951b35e7ea482e34bf54fbf06efb9703b64a53354b941ea669

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