19 references to New
Microsoft.ML.FastTree (19)
Dataset\DatasetUtils.cs (2)
35
IntArray ratingAsFeature = IntArray.
New
(
53
IntArray bins = IntArray.
New
(
Dataset\DenseIntArray.cs (3)
48
return
New
(Length, type, bitsPerItem, this);
58
return IntArray.
New
(itemIndices.Length, IntArrayType.Dense, BitsPerItem, itemIndices.Select(x => this[x]));
68
newArrays[p] = IntArray.
New
(assignment[p].Length, IntArrayType.Dense, BitsPerItem, assignment[p].Select(x => this[x]));
Dataset\Feature.cs (2)
212
: base(DenseIntArray.
New
(length, IntArrayType.Dense, 0, Enumerable.Repeat(0, length)))
302
IntArray newBins = IntArray.
New
(b.Length, b.Type, bitsPerItem, b);
Dataset\IntArray.cs (1)
367
bins = IntArray.
New
(Length, bestType, classicBits, this);
Dataset\RepeatIntArray.cs (2)
65
_values = IntArray.
New
(tempValueList.Count, IntArrayType.Dense, bitsPerItem, tempValueList) as DenseIntArray;
113
return IntArray.
New
(_length, type, bitsPerItem, this);
Dataset\SparseIntArray.cs (4)
83
_values = IntArray.
New
(tempValueList.Count, IntArrayType.Dense, bitsPerItem, tempValueList) as DenseIntArray;
166
_values = IntArray.
New
(tempValueList.Count, IntArrayType.Dense, bitsPerItem, tempValueList) as DenseIntArray;
206
parts[i] = IntArray.
New
(assignment[i].Length, IntArrayType.Sparse, BitsPerItem, assignment[i].Select(x => indexer[x]));
221
return IntArray.
New
(itemIndices.Length, IntArrayType.Sparse, BitsPerItem, itemIndices.Select(x => indexer[x]));
FastTree.cs (4)
1101
IntArray bins = IntArray.
New
(NumExamples, type, flockBits, binnedValues);
1175
IntArray bins = IntArray.
New
(NumExamples, type, flockBits, binnedValues);
1254
bins = IntArray.
New
(values.Length, arrayType, IntArray.NumBitsNeeded(binUpperBounds.Length), binnedValues);
2032
var denseBins = (DenseIntArray)IntArray.
New
(values.Count, IntArrayType.Dense, flockBits, values);
SumupPerformanceCommand.cs (1)
178
arrays[i] = IntArray.
New
(_len, _type, bits, createIntArray(ch, r));