Esempio n. 1
0
 public void init(int[] folds) {
   int mnb = folds.length;
   m_Nodes = new ClusNode[mnb];
   m_Folds = new int[mnb];
   System.arraycopy(folds, 0, m_Folds, 0, mnb);
 }
 public void copy(ClusStatistic other) {
   RegressionStatBinaryNomiss or = (RegressionStatBinaryNomiss) other;
   m_SumWeight = or.m_SumWeight;
   m_NbExamples = or.m_NbExamples;
   System.arraycopy(or.m_SumValues, 0, m_SumValues, 0, m_NbAttrs);
 }