<commit_before>hwr-experiments
===============

Experiments for handwriting recognition

## Update an existing classifier

1. `$ backup.py`:  30 minutes
2. Delete files in preprocessing, features and model folder
3. `$ train.py`: 30 minutes (eventually multiple times for SLP)<commit_msg>README.md: Updated instructions for new data<commit_after>hwr-experiments
===============

Experiments for handwriting recognition

## Update an existing classifier

If you have new data, but don't want to change the classifier (hence: no
difference in preprocessing, features or model and no new symbols), you should
do the following:

1. `$ backup.py`:  30 minutes
2. Update preprocessing data source to new file which was just created by
   backup.py
3. Delete files in preprocessing, features and model folder
4. `$ train.py`: 30 minutes (eventually multiple times for SLP)
{'fraction_non_alphanumeric': 0.09942196531791908, 'fraction_numerical': 0.017341040462427744, 'mean_word_length': 5.013888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4749584', 'n_tokens_mistral': 242, 'n_tokens_neox': 220, 'n_words': 109}