2 writes to Dataset
Microsoft.ML.FastTree (2)
Training\ScoreTracker.cs (2)
23
Dataset
= s.Dataset;
35
Dataset
= set;
22 references to Dataset
Microsoft.ML.FastTree (22)
FastTree.cs (2)
688
.AddOutputsToScores(OptimizationAlgorithm.TrainingScores.
Dataset
,
851
if (st.
Dataset
== set)
FastTreeTweedie.cs (1)
405
var weights = trainingScores.
Dataset
.SampleWeights;
Training\OptimizationAlgorithms\GradientDescent.cs (2)
89
Dataset.DatasetSkeleton dsSkeleton = TrainingScores.
Dataset
.Skeleton;
137
_treeScores.Add(tree.GetOutputs(TrainingScores.
Dataset
));
Training\OptimizationAlgorithms\OptimizationAlgorithm.cs (1)
89
if (st.
Dataset
== set)
Training\ScoreTracker.cs (9)
23
Dataset = s.
Dataset
;
62
Scores = new double[
Dataset
.NumDocs];
68
if (initScores.Length !=
Dataset
.NumDocs)
97
tree.AddOutputsToScores(
Dataset
, Scores, multiplier);
172
int innerLoopSize = 1 +
Dataset
.NumDocs / BlockingThreadPool.NumThreads; // +1 is to make sure we don't have a few left over at the end
175
var actions = new Action[(int)Math.Ceiling(1.0 *
Dataset
.NumDocs / innerLoopSize)];
177
for (int d = 0; d <
Dataset
.NumDocs; d += innerLoopSize)
180
var toDoc = Math.Min(d + innerLoopSize,
Dataset
.NumDocs);
183
var featureBins =
Dataset
.GetFeatureBinRowwiseIndexer();
Training\StepSearch.cs (2)
83
if (Scores == null || Scores.
Dataset
!= _previousScores.
Dataset
)
Training\Test.cs (5)
147
public Dataset Dataset => ScoreTracker.
Dataset
;
348
Contracts.Check(scoreTracker.
Dataset
.NumDocs == labels.Length, "Mismatch between dataset and labels");
527
_labels = FastTreeRegressionTrainer.GetDatasetRegressionLabels(scoreTracker.
Dataset
);
528
Contracts.Check(scoreTracker.
Dataset
.NumDocs == _labels.Length, "Mismatch between dataset and labels");
602
Contracts.Check(scoreTracker.
Dataset
.NumDocs == binaryLabels.Length, "Mismatch between dataset and labels");