4 instantiations of ColumnOptions
Microsoft.ML.Data (4)
Transforms\ConversionsExtensionsCatalog.cs (2)
84=> new TypeConvertingEstimator(CatalogUtils.GetEnvironment(catalog), new[] { new TypeConvertingEstimator.ColumnOptions(outputColumnName, outputKind, inputColumnName) }); 106var columnOptions = columns.Select(x => new TypeConvertingEstimator.ColumnOptions(x.OutputColumnName, outputKind, x.InputColumnName)).ToArray();
Transforms\TypeConverting.cs (2)
193: this(env, new TypeConvertingEstimator.ColumnOptions(outputColumnName, outputKind, inputColumnName ?? outputColumnName, outputKeyCount)) 606: this(env, new ColumnOptions(outputColumnName, outputKind, inputColumnName ?? outputColumnName))
12 references to ColumnOptions
Microsoft.ML.Data (12)
Transforms\ConversionsExtensionsCatalog.cs (3)
111/// Create a <see cref="TypeConvertingEstimator"/>, which converts the type of the data in the <see cref="TypeConvertingEstimator.ColumnOptions.InputColumnName"/> 112/// to the type specified in the <see cref="TypeConvertingEstimator.ColumnOptions.OutputKind"/> 119internal static TypeConvertingEstimator ConvertType(this TransformsCatalog.ConversionTransforms catalog, params TypeConvertingEstimator.ColumnOptions[] columns)
Transforms\TypeConverting.cs (9)
172/// A collection of <see cref="TypeConvertingEstimator.ColumnOptions"/> describing the settings of the transformation. 174internal IReadOnlyCollection<TypeConvertingEstimator.ColumnOptions> Columns => _columns.AsReadOnly(); 176private readonly TypeConvertingEstimator.ColumnOptions[] _columns; 178private static (string outputColumnName, string inputColumnName)[] GetColumnPairs(TypeConvertingEstimator.ColumnOptions[] columns) 200internal TypeConvertingTransformer(IHostEnvironment env, params TypeConvertingEstimator.ColumnOptions[] columns) 261_columns = new TypeConvertingEstimator.ColumnOptions[columnsLength]; 302var cols = new TypeConvertingEstimator.ColumnOptions[options.Columns.Length]; 613internal TypeConvertingEstimator(IHostEnvironment env, params ColumnOptions[] columns) : 626foreach (var colInfo in Transformer.Columns)