3 writes to Columns
Microsoft.ML.Data (3)
Transforms\Normalizer.cs (3)
527
Columns
= ImmutableArray.Create(columns);
631
Columns
= ImmutableArray.Create(cols);
652
Columns
= ImmutableArray.Create(cols);
24 references to Columns
Microsoft.ML.Data (24)
Transforms\Normalizer.cs (24)
501
/// <summary>An accessor of the column functions within <see cref="
Columns
"/>.</summary>
518
string errMsg = "Not valid. Valid range is from 0 (inclusive) to " +
Columns
.Length + " (exclusive) but got " + index + ".";
519
Contracts.CheckUserArg(index >= 0 && index <
Columns
.Length, nameof(index), errMsg);
521
return
Columns
[index].ModelParameters;
528
ColumnFunctions = new ColumnFunctionAccessor(
Columns
);
622
ColumnFunctions = new ColumnFunctionAccessor(
Columns
);
643
ColumnFunctions = new ColumnFunctionAccessor(
Columns
);
693
for (int iinfo = 0; iinfo <
Columns
.Length; iinfo++)
695
ColumnOptions.SaveType(ctx,
Columns
[iinfo].InputType);
697
ctx.SaveSubModel(dir,
Columns
[iinfo].ColumnFunction.Save);
735
var result = new DataViewSchema.DetachedColumn[_parent.
Columns
.Length];
736
for (int i = 0; i < _parent.
Columns
.Length; i++)
737
result[i] = new DataViewSchema.DetachedColumn(_parent.
Columns
[i].Name, _parent.
Columns
[i].InputType, MakeMetadata(i));
743
var colInfo = _parent.
Columns
[iinfo];
759
return _parent.
Columns
[iinfo].ColumnFunction.GetGetter(input, ColMapNewToOld[iinfo]);
766
for (int iinfo = 0; iinfo < _parent.
Columns
.Length; ++iinfo)
768
var info = _parent.
Columns
[iinfo];
791
for (int iinfo = 0; iinfo < _parent.
Columns
.Length; ++iinfo)
793
var info = _parent.
Columns
[iinfo];
816
Contracts.Assert(0 <= iinfo && iinfo < _parent.
Columns
.Length);
817
Contracts.Assert(_parent.
Columns
[iinfo] == info);
826
Contracts.Assert(0 <= iinfo && iinfo < _parent.
Columns
.Length);
827
Contracts.Assert(_parent.
Columns
[iinfo] == info);