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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a842e1c690d5cff87202b2c8503af63ec1c6b1caed845f86a82795006a35b0d
|
|
| MD5 |
6a0faaac3bb3686edd0fc3f76fe44e4b
|
|
| BLAKE2b-256 |
4a71ee9911a7a66ebecd507164b719b917481d5d79941d0ad6791e80ecfd92df
|
File details
Details for the file metermetrics-0.2.0-py3-none-any.whl.
File metadata
- Download URL: metermetrics-0.2.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 |
fa59bc7ae7a1915f98eba2e4cfdd7f4befbbe74cba889dca21741d9dfac07bd8
|
|
| MD5 |
097c91d3c6df7c21fcec22ce3f57952e
|
|
| BLAKE2b-256 |
3d577a66f84ad2758f47e647481818593392f1e310db84f86261c725abe52afa
|