65 references to TaskKind
Microsoft.ML.AutoML (53)
API\BinaryClassificationExperiment.cs (1)
152
TaskKind
.BinaryClassification,
API\ExperimentBase.cs (6)
28
private readonly
TaskKind
_task;
35
TaskKind
task,
71
if (_task ==
TaskKind
.Ranking)
135
if (_task ==
TaskKind
.Ranking)
161
var columnInformation = (_task ==
TaskKind
.Ranking) ?
252
var columnInformation = (_task ==
TaskKind
.Ranking) ?
API\MulticlassClassificationExperiment.cs (1)
136
TaskKind
.MulticlassClassification,
API\RankingExperiment.cs (1)
124
TaskKind
.Ranking,
API\RecommendationExperiment.cs (1)
63
TaskKind
.Recommendation,
API\RegressionExperiment.cs (1)
131
TaskKind
.Regression,
Experiment\Experiment.cs (2)
20
private readonly
TaskKind
_task;
41
TaskKind
task,
Experiment\RecipeInference.cs (1)
15
public static IEnumerable<SuggestedTrainer> AllowedTrainers(MLContext mlContext,
TaskKind
task,
PipelineSuggesters\PipelineSuggester.cs (2)
20
TaskKind
task,
32
TaskKind
task,
TrainerExtensions\TrainerExtensionCatalog.cs (7)
63
public static IEnumerable<ITrainerExtension> GetTrainers(
TaskKind
task,
67
if (task ==
TaskKind
.BinaryClassification)
71
else if (task ==
TaskKind
.MulticlassClassification &&
82
else if (task ==
TaskKind
.MulticlassClassification)
86
else if (task ==
TaskKind
.Regression)
90
else if (task ==
TaskKind
.Recommendation)
94
else if (task ==
TaskKind
.Ranking)
TransformInference\TransformInference.cs (15)
119
IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task);
124
public abstract IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task);
172
public override IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task)
174
if (task !=
TaskKind
.MulticlassClassification)
199
public override IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task)
201
if (task !=
TaskKind
.Recommendation)
222
public override IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task)
224
if (task !=
TaskKind
.Ranking)
244
public override IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task)
294
public override IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task)
322
public override IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task)
348
public override IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task)
376
public override IEnumerable<SuggestedTransform> Apply(IntermediateColumn[] columns,
TaskKind
task)
395
public static SuggestedTransform[] InferTransforms(MLContext context,
TaskKind
task, DatasetColumnInfo[] columns)
408
if (task !=
TaskKind
.Recommendation)
TransformInference\TransformInferenceApi.cs (2)
11
public static IEnumerable<SuggestedTransform> InferTransforms(MLContext context,
TaskKind
task, DatasetColumnInfo[] columns)
16
public static IEnumerable<SuggestedTransform> InferTransformsPostTrainer(MLContext context,
TaskKind
task, DatasetColumnInfo[] columns)
TransformInference\TransformPostTrainerInference.cs (3)
13
public static IEnumerable<SuggestedTransform> InferTransforms(MLContext context,
TaskKind
task, DatasetColumnInfo[] columns)
20
private static IEnumerable<SuggestedTransform> InferLabelTransforms(MLContext context,
TaskKind
task,
25
if (task !=
TaskKind
.MulticlassClassification)
Utils\UserInputValidationUtil.cs (10)
29
IDataView validationData,
TaskKind
task)
61
public static void ValidateSamplingKey(string samplingKeyColumnName, string groupIdColumnName,
TaskKind
task)
63
if (task ==
TaskKind
.Ranking && samplingKeyColumnName != null && samplingKeyColumnName != groupIdColumnName)
105
private static void ValidateColumnInformation(IDataView trainData, ColumnInformation columnInformation,
TaskKind
task)
307
private static IEnumerable<DataViewType> GetAllowedLabelTypes(
TaskKind
task)
311
case
TaskKind
.BinaryClassification:
315
case
TaskKind
.MulticlassClassification:
317
case
TaskKind
.Regression:
318
case
TaskKind
.Recommendation:
320
case
TaskKind
.Ranking:
Microsoft.ML.AutoML.Tests (12)
GetNextPipelineTests.cs (1)
57
var
task = TaskKind.BinaryClassification;
UserInputValidationTests.cs (11)
45
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
58
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
76
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
116
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
139
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
162
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
226
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
286
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
336
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
399
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })
414
foreach (
var
task in new[] { TaskKind.Recommendation, TaskKind.Regression, TaskKind.Ranking })