Function recoreco::io::interactions_from_csv
source · pub fn interactions_from_csv<'a, R>(
reader: &'a mut Reader<R>
) -> impl Iterator<Item = (String, String)> + 'awhere
R: Read,
Expand description
Converts a csv::Reader
for an interaction file into an Iterator<Item=(String, String)>
over
the contained interactions.
This iterator can be used to construct a recoreco::stats::DataDictionary
via
recoreco::stats::DataDictionary::from
or to compute highly associated paris of items
via recoreco::indicators
.