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