FastTree.cs (21)
64private protected Dataset TrainSet;
65private protected Dataset ValidSet;
69private protected Dataset[] TestSets;
428private string GetDatasetStatistics(Dataset set)
823private protected ScoreTracker ConstructScoreTracker(Dataset set)
846private double[] ComputeScoresSmart(IChannel ch, Dataset set)
860private double[] ComputeScoresSlow(IChannel ch, Dataset set)
875private double[] GetInitScores(Dataset set)
990public abstract Dataset GetDataset();
1262private readonly Dataset _dataset;
1282public override Dataset GetDataset()
1325private Dataset Construct(RoleMappedData examples, ref int numExamples, int maxBins, IParallelTraining parallelTraining)
1334Dataset result;
1632var skeleton = new Dataset.DatasetSkeleton(ratings, boundaries, qids, dids, new double[0][], actualLabels);
1933public override Dataset GetDataset()
2354private Dataset.DatasetSkeleton CreateDatasetSkeleton()
2359? new Dataset.DatasetSkeleton(_targetsList.ToArray(), _boundaries.ToArray(), queryIds, docIds, new double[0][])
2360: new Dataset.DatasetSkeleton(_targetsList.ToArray(), _boundaries.ToArray(), queryIds, docIds, new double[0][], _actualTargets.ToArray());
2744public Dataset FindBinsAndReturnDataset(RoleMappedData data, PredictionKind kind, IParallelTraining parallelTraining,
2755Dataset d = convData.GetDataset();
2762public Dataset GetCompatibleDataset(RoleMappedData data, PredictionKind kind, int[] categoricalFeatures, bool categoricalSplit)
Training\DcgCalculator.cs (11)
159public double Ndcg3(Dataset dataset, short[] labels, double[] scores)
261public double Ndcg1(Dataset dataset, short[] labels, double[] scores)
279public double Ndcg3(Dataset dataset, short[][] labelsSorted)
300public double Ndcg1(Dataset dataset, short[][] labelsSorted)
362public double[] NdcgRangeFromScores(Dataset dataset, short[] labels, double[] scores)
394private void NdcgRangeWorkerChunkFromScores(Dataset dataset, short[] labels, double[] scores, double[] result, int startQuery, int numQueries, int threadIndex)
403private void NdcgRangeWorkerFromScores(Dataset dataset, short[] labels, double[] scores, double[] result, int query, int threadIndex)
471public double[] DcgFromScores(Dataset dataset, double[] scores, double[] discount)
503public int[] OrderingFromScores(Dataset dataset, double[] scores)
526private void OrderingRangeWorkerFromScores(Dataset dataset, double[] scores, int[] result, int startQuery, int numQueries, int threadIndex)
535private void OrderingRangeWorkerPerQueryFromScores(Dataset dataset, double[] scores, int[] result, int query, int threadIndex)
Training\WinLossCalculator.cs (3)
46public double[] WinLossRangeFromScores(Dataset dataset, short[] labels, double[] scores)
72private void WinLossRangeWorkerChunkFromScores(Dataset dataset, short[] labels, double[] scores, double[] result, int startQuery, int numQueries, int threadIndex)
79private void WinLossRangeWorkerFromScores(Dataset dataset, short[] labels, double[] scores, double[] result, int query, int threadIndex)