1 write to Purpose
Microsoft.ML.AutoML (1)
TransformInference\TransformInference.cs (1)
79
Purpose
= purpose;
19 references to Purpose
Microsoft.ML.AutoML (19)
TransformInference\TransformInference.cs (19)
179
var lastLabelColId = Array.FindLastIndex(columns, x => x.
Purpose
== ColumnPurpose.Label);
207
if (column.
Purpose
== ColumnPurpose.UserId ||
208
column.
Purpose
== ColumnPurpose.ItemId)
230
if (column.
Purpose
== ColumnPurpose.GroupId && !column.Type.IsKey())
253
if (column.
Purpose
!= ColumnPurpose.CategoricalFeature)
300
if (!column.Type.GetItemType().IsBool() || column.
Purpose
!= ColumnPurpose.NumericFeature)
328
if (!column.Type.GetItemType().IsText() || column.
Purpose
!= ColumnPurpose.TextFeature)
354
&& column.
Purpose
== ColumnPurpose.NumericFeature
380
if (!column.Type.GetItemType().IsText() || column.
Purpose
!= ColumnPurpose.ImagePath)
437
if (intermediateCol.
Purpose
== ColumnPurpose.NumericFeature &&
445
var labelColumnName = intermediateCols.FirstOrDefault(c => c.
Purpose
== ColumnPurpose.Label)?.ColumnName;
449
var groupColumnName = intermediateCols.FirstOrDefault(c => c.
Purpose
== ColumnPurpose.GroupId)?.ColumnName;
452
intermediateCols = intermediateCols.Where(c => c.
Purpose
== ColumnPurpose.NumericFeature ||
453
c.
Purpose
== ColumnPurpose.CategoricalFeature || c.
Purpose
== ColumnPurpose.TextFeature ||
454
c.
Purpose
== ColumnPurpose.ImagePath);
465
intermediateCols.First().
Purpose
== ColumnPurpose.CategoricalFeature ||
466
intermediateCols.First().
Purpose
== ColumnPurpose.TextFeature ||
467
intermediateCols.First().
Purpose
== ColumnPurpose.ImagePath))