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