24 references to TaskType
Microsoft.ML.Tests (24)
PermutationFeatureImportanceTests.cs (24)
341var data = GetDenseDataset(TaskType.BinaryClassification); 415var data = GetSparseDataset(TaskType.BinaryClassification); 524var data = GetDenseDataset(TaskType.MulticlassClassification); 596var data = GetSparseDataset(TaskType.MulticlassClassification); 675var data = GetDenseDataset(TaskType.Ranking); 744var data = GetSparseDataset(TaskType.Ranking); 813private IDataView GetDenseDataset(TaskType task = TaskType.Regression) 841if (task == TaskType.BinaryClassification || 842task == TaskType.MulticlassClassification) 844else if (task == TaskType.Ranking) 854if (task == TaskType.Ranking) 860if (task == TaskType.BinaryClassification) 863else if (task == TaskType.MulticlassClassification) 866else if (task == TaskType.Ranking) 880private IDataView GetSparseDataset(TaskType task = TaskType.Regression) 922if (task == TaskType.BinaryClassification || 923task == TaskType.MulticlassClassification) 925else if (task == TaskType.Ranking) 934if (task == TaskType.Ranking) 940if (task == TaskType.BinaryClassification) 945else if (task == TaskType.MulticlassClassification) 950else if (task == TaskType.Ranking)