Skip to main content

predict_many_cached

Function predict_many_cached 

Source
pub fn predict_many_cached(model: &RtModel, seqs: &[&str]) -> Vec<f64>
Expand description

Predict abstract RT for seqs, reusing an on-disk cache keyed by the model fingerprint. Only sequences missing from the cache are run through the model; newly predicted (seq, rt) pairs are appended to the cache file. The returned vec is aligned to seqs and bit-identical to model.predict_many(seqs).