1 write to _columns
Microsoft.ML.Data (1)
Transforms\ValueMapping.cs (1)
1044
_columns
= columns;
7 references to _columns
Microsoft.ML.Data (7)
Transforms\ValueMapping.cs (7)
1051
Host.Assert(0 <= iinfo && iinfo <
_columns
.Length);
1280
var result = new DataViewSchema.DetachedColumn[
_columns
.Length];
1281
for (int i = 0; i <
_columns
.Length; i++)
1283
if (_inputSchema[
_columns
[i].inputColumnName].Type is VectorDataViewType && _valueMap.ValueColumn.Type is VectorDataViewType)
1284
throw _parent.Host.ExceptNotSupp("Column '{0}' cannot be mapped to values when the column and the map values are both vector type.",
_columns
[i].inputColumnName);
1286
if (_inputSchema[
_columns
[i].inputColumnName].Type is VectorDataViewType)
1288
result[i] = new DataViewSchema.DetachedColumn(
_columns
[i].outputColumnName, colType, _valueMap.ValueColumn.Annotations);