Please refer to the HASY paper for details about the dataset. If you want to report problems of the HASY dataset, please send an email to info@martin-thoma.de or file an issue at https://github.com/MartinThoma/HASY
Errata are listed in the git repository as well as the actual hasy package.
Contents
The contents of the HASYv2 dataset are:
hasy-data: 168236 png images, each 32px x 32pxhasy-data-labels.csv: Labels for all images.classification-task: 10 folders (fold-1, fold-2, ..., fold-10) which contain atrain.csvand atest.csveach. Every line of the csv files points to one of the png images (relative to itself). If those files are used, then thehasy-data-labels.csvis not necessary.verification-task: Atrain.csvand three different test files. All files should be used in exactly the same way, but the accuracy should be reported for each one. The task is to decide for a pair of two 32px x 32px images if they belong to the same symbol (binary classification).symbols.csv: All classesREADME.txt: This file
How to evaluate
Classification Task
Use the pre-defined 10 folds for 10-fold cross-validation. Report the average accuracy as well as the minumum and maximum accuracy.
Verification Task
Use the train.csv for training. Use test-v1.csv, test-v2.csv, test-v3.csv` for evaluation. Report TP, TN, FP, FN and accuracy for each
of the three test groups.
hasy package
hasy can be used in two ways: (1) as a shell script (2) as a Python
module.
If you want to get more information about the shell script options, execute
$ hasy --help
usage: hasy [-h] [--dataset DATASET] [--verify] [--overview] [--analyze_color]
[--class_distribution] [--distances] [--pca] [--variance]
[--correlation] [--count-users] [--analyze-cm CM]
optional arguments:
-h, --help show this help message and exit
--dataset DATASET specify which data to use (default: None)
--verify verify PNG files (default: False)
--overview Get overview of data (default: False)
--analyze_color Analyze the color distribution (default: False)
--class_distribution Analyze the class distribution (default: False)
--distances Analyze the euclidean distance distribution (default:
False)
--pca Show how many principal components explain 90% / 95% /
99% of the variance (default: False)
--variance Analyze the variance of features (default: False)
--correlation Analyze the correlation of features (default: False)
--count-users Count how many different users have created the
dataset (default: False)
--analyze-cm CM Analyze a confusion matrix in JSON format. (default:
False)
If you want to use hasy as a Python package, see
python -c "import hasy.hasy_tools;help(hasy.hasy_tools)"
Changelog
- 14.05.2020, hasy Python package: Major refactoring of this repository
- 24.01.2017, HASYv2: Points were not rendered in HASYv1; improved hasy_tools https://doi.org/10.5281/zenodo.259444
- 18.01.2017, HASYv1: Initial upload https://doi.org/10.5281/zenodo.250239
Metadata
Release files for hasy 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hasy-0.3.1.tar.gz | 18.1 kB | Without provenance | Details for hasy-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hasy-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for hasy-0.3.1-py3-none-any.whl |
Total release size: 35.1 kB
Release files / hasy-0.3.1.tar.gz
| Download URL | hasy-0.3.1.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a135367498443bc4f4195097f844d47b087c2bbaac04e31ec3fa5ee0c1c6296e
|
|
BLAKE2b-256 checksum How to use checksums |
0d383d166f0f9982806293bd10411b92fe5b5801b332bdca4982be47b29d84d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
|
Release files / hasy-0.3.1-py3-none-any.whl
| Download URL | hasy-0.3.1-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5cc9f2304ab8bb2a9081c3c3209bc0149bbbaf7461d1f92ac12505fe9ec323db
|
|
BLAKE2b-256 checksum How to use checksums |
44272741012c9259117d3ffff492151bcaab9c25889797f63bfd5fb2a8a1f8d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
|
Security for hasy 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.