1 write to TaskType
Microsoft.ML.CodeGenerator (1)
CodeGenerator\CSharp\CodeGenerator.cs (1)
384
TaskType
= _settings.MlTask.ToString(),
29 references to TaskType
Microsoft.ML.CodeGenerator (29)
Templates\Console\ModelBuilder.cs (29)
122
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
123
if("Recommendation".Equals(
TaskType
)){
168
if("BinaryClassification".Equals(
TaskType
)){
170
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
174
} if("MulticlassClassification".Equals(
TaskType
)){
176
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
180
}if("Regression".Equals(
TaskType
) || "Recommendation".Equals(
TaskType
)){
182
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
183
if("Recommendation".Equals(
TaskType
)){
189
}if("Ranking".Equals(
TaskType
)){
191
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
204
if("BinaryClassification".Equals(
TaskType
)){
206
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
214
if("MulticlassClassification".Equals(
TaskType
)){
216
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
224
if("Regression".Equals(
TaskType
)){
226
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
233
if("Ranking".Equals(
TaskType
)){
235
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
264
if("Regression".Equals(
TaskType
) || "Recommendation".Equals(
TaskType
)){
268
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
289
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
300
} if("BinaryClassification".Equals(
TaskType
)){
335
} if("MulticlassClassification".Equals(
TaskType
)){
399
} if("Ranking".Equals(
TaskType
)){
403
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));
419
this.Write(this.ToStringHelper.ToStringWithCulture(
TaskType
));