Esempio n. 1
0
void CrossHypotheses::InitializeDerivedQualities() {
  InitializeResponsibility(); // depends on hypotheses
  InitializeTmpVariables();

  // in theory don't need to compute any but test flows
  ComputeBasicResiduals(); // predicted and measured

  InitializeSigma(); // depends on predicted
  ComputeBasicLikelihoods(); // depends on residuals and sigma
  // compute log-likelihoods
  ComputeLogLikelihoods();  // depends on test flow(s)
}
void CrossHypotheses::InitializeDerivedQualities() {

    InitializeResponsibility(); // depends on hypotheses
    // in theory don't need to compute any but test flows
    SetModPredictions();  // make sure that mod-predictions=predictions
    ComputeBasicResiduals(); // predicted and measured

    InitializeSigma(); // depends on predicted

    my_t.SetV(heavy_tailed);

    ComputeBasicLikelihoods(); // depends on residuals and sigma
    // compute log-likelihoods
    ComputeLogLikelihoods();  // depends on test flow(s)
}