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