void BasicSigmaGenerator::AddNullUpdate(CrossHypotheses &my_cross){ unsigned int i_hyp =0; /* vector<int> all_flows; all_flows.assign(my_cross.mod_predictions[0].size(), 0.0f); for (unsigned int i_flow=0; i_flow<all_flows.size(); i_flow++) all_flows[i_flow] = i_flow; */ AddOneUpdateForHypothesis(my_cross.mod_predictions[i_hyp], 1.0f, 1.0f, my_cross.test_flow, my_cross.residuals[i_hyp]); }
void BasicSigmaGenerator::AddCrossUpdate(CrossHypotheses &my_cross){ for (unsigned int i_hyp=0; i_hyp<my_cross.residuals.size(); i_hyp++){ // no outlier values count here AddOneUpdateForHypothesis(my_cross.mod_predictions[i_hyp], my_cross.responsibility[i_hyp], my_cross.skew_estimate, my_cross.test_flow, my_cross.residuals[i_hyp]); } }
void BasicSkewGenerator::AddCrossUpdate(CrossHypotheses &my_cross){ for (unsigned int i_hyp=1; i_hyp<my_cross.residuals.size(); i_hyp++){ // no outlier values count here AddOneUpdateForHypothesis(my_cross.strand_key, my_cross.weighted_responsibility[i_hyp], my_cross.test_flow, my_cross.residuals[i_hyp]); } }