Exemplo n.º 1
0
        public ValueCounts AccumulateRow(CountableRow row)
        {
            TotalCount += row.Count;
            TotalRows++;

            if (row.IsSuppressed)
            {
                SuppressedCount += row.Count;
                SuppressedRows++;
            }
            if (row.IsNull)
            {
                NullCount += row.Count;
                NullRows++;
            }

            return(this);
        }
Exemplo n.º 2
0
 private static ValueCounts AccumulateRow(ValueCounts vc, CountableRow row)
 {
     vc.AccumulateRow(row);
     return(vc);
 }
Exemplo n.º 3
0
 public void Add(CountableRow row)
 {
     Add(row.Count, row.CountNoise ?? 0.0);
 }
Exemplo n.º 4
0
 public static NoisyCount FromCountableRow(CountableRow row) => WithNoise(row.Count, row.CountNoise ?? 0.0);