RECETOX / RIAssigner

RIAssigner is a python tool for retention index (RI) computation for GC-MS data.
MIT License
4 stars 6 forks source link

Find a safe way to load and store models for RI prediction #106

Open hechth opened 7 months ago

hechth commented 7 months ago

Find out how scipy can store a model and how it can be loaded. Pickle is not considered safe so a different method should be used to be able to import a trained model.

wverastegui commented 7 months ago

While still under development, skops appears to be a more secure alternative to pickle and joblib (https://skops.readthedocs.io/en/stable/persistence.html). Also, most types from numpy and scipy should be supported according to the documentation.