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
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
metermetrics-0.1.0.tar.gz
(5.2 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3b701ac9d1e14b75b29c481be29a6c757551ae16d85a701c19d8a2b7f7f470 |
|
MD5 | 4605cb8d181ee71ae6b70130e8d53bec |
|
BLAKE2b-256 | 4bafd735393e814b3b6e97667a807eae13ace182f552880dc461959795eee41a |
File details
Details for the file metermetrics-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: metermetrics-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd4662d41dd1104e8406f4bad8d4d2c3277ee1d6dcc699173912594ffc0c27b |
|
MD5 | 5865d918e8612e6d3f61a483743ad073 |
|
BLAKE2b-256 | 5af182b78e3f6e951b35e7ea482e34bf54fbf06efb9703b64a53354b941ea669 |