12 references to Ratings
Microsoft.ML.FastTree (12)
Dataset\Dataset.cs (1)
309DatasetSkeleton datasetSkeleton = new DatasetSkeleton(docIndices.Select(d => Ratings[d]).ToArray(),
FastTreeClassification.cs (1)
248return set.Ratings.Select(x => x >= 1);
FastTreeRanking.cs (7)
201_ensembleCompressor.Initialize(FastTreeTrainerOptions.NumberOfTrees, TrainSet, TrainSet.Ratings, FastTreeTrainerOptions.Seed); 207return new LambdaRankObjectiveFunction(TrainSet, TrainSet.Ratings, FastTreeTrainerOptions, ParallelTraining); 215_specialTrainSetTest = new FastNdcgTest(optimizationAlgorithm.TrainingScores, TrainSet.Ratings, FastTreeTrainerOptions.SortingAlgorithm, FastTreeTrainerOptions.EarlyStoppingMetrics); 233return new NdcgTest(ConstructScoreTracker(TrainSet), TrainSet.Ratings, FastTreeTrainerOptions.SortingAlgorithm); 416dataset.Ratings, 429TrainSet.Ratings, 442ValidSet.Ratings,
RandomForestClassification.cs (1)
357_trainSetLabels = TrainSet.Ratings.Select(x => x >= 1).ToArray(TrainSet.NumDocs);
Training\DcgCalculator.cs (2)
473short[] ratings = dataset.Ratings; 543short[] labels = dataset.Ratings;