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