4 overrides of Length
Microsoft.ML.FastTree (4)
Dataset\DenseIntArray.cs (1)
34public override int Length { get; }
Dataset\RepeatIntArray.cs (1)
109public override int Length { get { return _length; } }
Dataset\SegmentIntArray.cs (1)
298public override int Length
Dataset\SparseIntArray.cs (1)
198public override int Length => _length;
14 references to Length
Microsoft.ML.FastTree (14)
Dataset\Feature.cs (2)
109get { return Bins.Length; } 302IntArray newBins = IntArray.New(b.Length, b.Type, bitsPerItem, b);
Dataset\FeatureFlock.cs (1)
1115public override int Examples => Bins.Length;
Dataset\FeatureHistogram.cs (1)
39Contracts.Assert(bins.Length == 0 || (0 <= numBins && bins.Max() < numBins));
Dataset\IntArray.cs (7)
297int len = Length; 324long denseBits = (long)classicBits * (long)Length; 325long sparseBits = (long)(Math.Max((int)classicBits, 8) + 8) * (long)(Length - zerocount + zoverflows); 326long rleBits = (long)(classicBits + 8) * (long)(Length - runs + overflows); 334SegmentIntArray.SegmentFindOptimalPath.Value(workarray, Length, 367bins = IntArray.New(Length, bestType, classicBits, this); 371bins = SegmentIntArray.FromWorkArray(workarray, Length, segBits, segTransitions);
Dataset\OneHotFeatureFlock.cs (1)
33return new Dense0BitIntArray(Bins.Length);
Dataset\SingletonFeatureFlock.cs (2)
20public override int Examples => _bins.Length; 27Contracts.Assert(bins.Length == 0 || bins.Max() < binUpperBounds.Length);