1 write to CompleteTrainingSet
Microsoft.ML.FastTree (1)
Training\BaggingProvider.cs (1)
21
CompleteTrainingSet
= completeTrainingSet;
17 references to CompleteTrainingSet
Microsoft.ML.FastTree (17)
Training\BaggingProvider.cs (17)
30
int[] trainDocs = new int[
CompleteTrainingSet
.NumDocs];
31
int[] outOfBagDocs = new int[
CompleteTrainingSet
.NumDocs];
35
for (int i = 0; i <
CompleteTrainingSet
.NumQueries; i++)
37
int begin =
CompleteTrainingSet
.Boundaries[i];
38
int numDocuments =
CompleteTrainingSet
.Boundaries[i + 1] - begin;
99
int[] trainDocs = new int[
CompleteTrainingSet
.NumDocs];
100
int[] outOfBagDocs = new int[
CompleteTrainingSet
.NumDocs];
104
int[] tmpTrainQueryIndices = new int[
CompleteTrainingSet
.NumQueries];
105
bool[] selectedTrainQueries = new bool[
CompleteTrainingSet
.NumQueries];
108
for (int i = 0; i <
CompleteTrainingSet
.NumQueries; i++)
110
int begin =
CompleteTrainingSet
.Boundaries[i];
111
int numDocuments =
CompleteTrainingSet
.Boundaries[i + 1] - begin;
126
int outOfBagQueriesCount =
CompleteTrainingSet
.NumQueries - qIdx;
128
var currentTrainQueryIndices = new int[
CompleteTrainingSet
.NumQueries - outOfBagQueriesCount];
133
for (int q = 0; q <
CompleteTrainingSet
.NumQueries; q++)
137
int begin =
CompleteTrainingSet
.Boundaries[q];
138
int numDocuments =
CompleteTrainingSet
.Boundaries[q + 1] - begin;