Exemple #1
0
 public void updateWeighted(DataTuple tuple, int idx) { // idx?
   m_RegStat.updateWeighted(tuple, tuple.getWeight());
   m_ClassStat.updateWeighted(tuple, tuple.getWeight());
   m_SumWeight += tuple.getWeight();
 }
Exemple #2
0
 public void updateWeighted(DataTuple tuple, double weight) {
   m_RegStat.updateWeighted(tuple, weight);
   m_ClassStat.updateWeighted(tuple, weight);
   m_SumWeight += weight;
 }