17 writes to Stat
Microsoft.ML.Transforms (17)
MissingValueReplacingUtils.cs (17)
239Stat = new TStatItem[type.Size]; 606Stat = ReturnMax ? float.NegativeInfinity : float.PositiveInfinity; 612Stat = val; 618Stat = val; 627Stat = ReturnMax ? float.NegativeInfinity : float.PositiveInfinity; 633Stat = val; 639Stat = val; 698Stat = new ModeStat<float>((in float val) => FloatUtils.IsFinite(val)); 717Stat = new ModeStat<float>((in float val) => FloatUtils.IsFinite(val)); 824Stat = ReturnMax ? double.NegativeInfinity : double.PositiveInfinity; 830Stat = val; 836Stat = val; 845Stat = ReturnMax ? double.NegativeInfinity : double.PositiveInfinity; 851Stat = val; 857Stat = val; 922Stat = new ModeStat<double>((in double val) => FloatUtils.IsFinite(val)); 941Stat = new ModeStat<double>((in double val) => FloatUtils.IsFinite(val));
66 references to Stat
Microsoft.ML.Transforms (66)
MissingValueReplacingUtils.cs (66)
287return Stat; 351Ch.Assert(0 <= slot && slot < Stat.Length); 544Stat.Update(val); 549double val = Stat.GetCurrentValue(Ch, RowCount); 564Stat.Update(val); 569double val = Stat.GetCurrentValue(Ch, ValueCount); 584Ch.Assert(0 <= slot && slot < Stat.Length); 585Stat[slot].Update(val); 590float[] stat = new float[Stat.Length]; 593double val = Stat[slot].GetCurrentValue(Ch, RowCount); 611if (val < Stat) 617if (val > Stat) 632if (val < Stat) 638if (val > Stat) 650return (float)Stat; 660for (int i = 0; i < Stat.Length; i++) 661Stat[i] = bound; 666Ch.Assert(0 <= slot && slot < Stat.Length); 667if (val < Stat[slot]) 668Stat[slot] = val; 673Ch.Assert(0 <= slot && slot < Stat.Length); 674if (val > Stat[slot]) 675Stat[slot] = val; 681for (int slot = 0; slot < Stat.Length; slot++) 689return Stat; 703return Stat.GetCurrentValue(); 708Stat.Update(val); 722return Stat.GetCurrentValue(); 727Stat.Update(val); 736for (int i = 0; i < Stat.Length; i++) 738Stat[i] = new ModeStat<float>((in float val) => FloatUtils.IsFinite(val)); 744float[] stat = new float[Stat.Length]; 747stat[slot] = Stat[slot].GetCurrentValue(); 754Stat[slot].Update(val); 770Stat.Update(val); 775return Stat.GetCurrentValue(Ch, RowCount); 788Stat.Update(val); 793return Stat.GetCurrentValue(Ch, ValueCount); 806Ch.Assert(0 <= slot && slot < Stat.Length); 807Stat[slot].Update(val); 812double[] stat = new double[Stat.Length]; 814stat[slot] = Stat[slot].GetCurrentValue(Ch, RowCount); 829if (val < Stat) 835if (val > Stat) 850if (val < Stat) 856if (val > Stat) 868return Stat; 878for (int i = 0; i < Stat.Length; i++) 879Stat[i] = bound; 884Ch.Assert(0 <= slot && slot < Stat.Length); 887if (val < Stat[slot]) 888Stat[slot] = val; 894Ch.Assert(0 <= slot && slot < Stat.Length); 897if (val > Stat[slot]) 898Stat[slot] = val; 905for (int slot = 0; slot < Stat.Length; slot++) 913return Stat; 927return Stat.GetCurrentValue(); 932Stat.Update(val); 946return Stat.GetCurrentValue(); 951Stat.Update(val); 960for (int i = 0; i < Stat.Length; i++) 962Stat[i] = new ModeStat<double>((in double val) => FloatUtils.IsFinite(val)); 968double[] stat = new double[Stat.Length]; 971stat[slot] = Stat[slot].GetCurrentValue(); 978Stat[slot].Update(val);