Skip to main content

load_predictions

Function load_predictions 

Source
pub fn load_predictions(text: &str) -> Result<Vec<PredictionLine>>
Expand description

Parse a predictions JSONL document (one PredictionLine per line).

Blank lines are skipped; a line that is not a JSON object, or that carries no id, is an error that names the line number.