{"id":17456688,"url":"https://github.com/martinthoma/hwr-experiments","last_synced_at":"2025-07-23T17:33:02.836Z","repository":{"id":22151591,"uuid":"25482867","full_name":"MartinThoma/hwr-experiments","owner":"MartinThoma","description":"Experiments for handwriting recognition","archived":false,"fork":false,"pushed_at":"2020-08-25T06:28:11.000Z","size":6277,"stargazers_count":14,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T01:40:17.611Z","etag":null,"topics":["machine-learning","science"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MartinThoma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-20T19:28:09.000Z","updated_at":"2022-05-31T11:13:51.000Z","dependencies_parsed_at":"2022-08-19T18:10:43.367Z","dependency_job_id":null,"html_url":"https://github.com/MartinThoma/hwr-experiments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MartinThoma/hwr-experiments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fhwr-experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fhwr-experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fhwr-experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fhwr-experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinThoma","download_url":"https://codeload.github.com/MartinThoma/hwr-experiments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fhwr-experiments/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266719981,"owners_count":23973875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["machine-learning","science"],"created_at":"2024-10-18T02:49:32.790Z","updated_at":"2025-07-23T17:33:02.819Z","avatar_url":"https://github.com/MartinThoma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nhwr-experiments\n===============\n\nExperiments for handwriting recognition\n\n\n## Notice\n\nThis repository is mainly for internal usage. If you want to get the data,\nplease have a view at [write-math.com/data](http://write-math.com/data)\n\n\n## Update an existing classifier\n\nIf you have new data, but don't want to change the classifier (hence: no\ndifference in preprocessing, features or model and no new symbols), you should\ndo the following:\n\n1. `$ backup.py`:  30 minutes\n2. Update `hwrt/misc/latex2writemathindex.csv`\n3. Update preprocessing data source to new file which was just created by\n   backup.py\n4. `hwrt filter_dataset -s ~/GitHub/hwrt/hwrt/misc/symbols.yml -r ~/GitHub/hwr-experiments/raw-datasets/2015-11-14-17-06-handwriting_datasets-all-raw.pickle -d ~/GitHub/hwr-experiments/raw-datasets/2015-11-15-filtered-raw.pickle`\n5. Delete files in preprocessing, features and model folder\n6. `$ train.py`: 30 minutes (eventually multiple times for SLP)\n\n## Add new symbols\n\nSee \"update existing classifier\", but with modifications:\n\n1. Adjust the model files (number of output neurons)\n2. Adjust the data source (look in hwr-experiments/raw-datasets)\n\n## After new training\n\n1. Run `$ test.py -n 3` (should be less than 5%)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinthoma%2Fhwr-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinthoma%2Fhwr-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinthoma%2Fhwr-experiments/lists"}