0.6.0
Spec2Vec 0.6.0
Main changes are the addition of proper logging and the changed handling of spectra with peaks (=words) missing in the model. Missing words will no longer raise exceptions but cause warnings and the return of empty embeddings if the percentage of missing words is above allowed_missing_percentage.
Added
- Logging (replacing former print statements) including options to write logs to file #73
- Now supports Python 3.9 (including CI test runs) #40
Changed
- missing words percentage above the
allowed_missing_percentageno longer causes an expection but only leads to raising a warning #73 - default setting for
allowed_missing_percentageto 10.0 to be less strict on model coverage #72
Fixed
- Can now also handle spectra in which no peak is known to the model (will return warning + empty vector) #73