pub fn calculate_final_predictions(
problem: &BestDoseProblem,
optimal_doses: &[f64],
weights: &Weights,
) -> Result<(NPPredictions, Option<Vec<(f64, f64)>>)>Expand description
Calculate predictions for optimal doses
This generates the final NPPredictions structure with the optimal doses and appropriate weights (posterior or uniform depending on which optimization won).