Recent Releases of spec2vec
spec2vec - 0.7.0
Spec2Vec 0.7.0
Added
- added
spec2vec.serializationsubpackage to import and exportWord2Vecmodels to/from disk without Pickle (viaimport_modelandexport_modelrespectively) #80
Changed
- bumped gensim version to
>=4.2.0in dependencies #84
Fixed
- updated Code examples in documentation to recent changes in matchms.
- Python
Published by florian-huber over 3 years ago
spec2vec - 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
- Python
Published by florian-huber over 4 years ago
spec2vec - 0.5.0
This release is about moving from gensim 3.8 to gensim >= 4.0.0. This might give some performance improvements, but most of all it will be more future proof. It comes, however, with a few changes to the gensim API that might also influence some Spec2Vec scripts. In most cases things should work as before, but if issues arise, please first check the gensim information on how to migrate.
Changed
- Spec2Vec is now using gensim >= 4.0.0 #62
- Python
Published by florian-huber almost 5 years ago
spec2vec - 0.4.0
This releases expands the API and makes it possible to compute Spec2Vec similarities without the need to first create SpectrumDocument objects from Spectrum objects (will now be done as part of Spec2Vec).
Changed
- refactored
Spec2Vecto now acceptSpectrumorSpectrumDocumentas input #51
Fixed
- Python
Published by florian-huber over 5 years ago
spec2vec - 0.3.0
Main changes for user
- use matchms.calculatescores() instead of matchms.calculatescores_parallel()
- use spec2vec.Spec2Vec instead of spec2vec.Spec2VecParallel
- use spec2vec.Spec2Vec.matrix(references, queries) instead of spec2vec.Spec2VecParallel(references, queries)
Added
- Support for Python 3.8 #35
Changed
- Refactored Spec2Vec class to provide .pair() and .matrix() methods #35
Removed
- Spec2VecParallel (is now included as Spec2Vec.matrix()) #35
- Python
Published by florian-huber over 5 years ago
spec2vec - 0.2.0
Word2Vec based similarity measure of mass spectrometry data.
Added
Changed
- Extend spec2vec similarity calculation to handle missing words #9
- Extend documentation and given code examples #15
- Updated the integration test to work with matchms 0.4.0 #7
- Python
Published by florian-huber almost 6 years ago