2 writes to _sources
Microsoft.ML.Data (2)
Dirty\ChooseColumnsByIndexTransform.cs (2)
75
ComputeSources(_drop, _selectedColumnIndexes, _sourceSchema, out
_sources
);
136
ComputeSources(_drop, _selectedColumnIndexes, _sourceSchema, out
_sources
);
9 references to _sources
Microsoft.ML.Data (9)
Dirty\ChooseColumnsByIndexTransform.cs (9)
49
/// Some column indexes in the input schema. <see cref="
_sources
"/> is computed from <see cref="_selectedColumnIndexes"/>
82
/// Common method of computing <see cref="
_sources
"/> from necessary parameters. This function is used in constructors.
99
/// After <see cref="_sourceSchema"/> and <see cref="
_sources
"/> are set, pick up selected columns from <see cref="_sourceSchema"/> to create <see cref="OutputSchema"/>
100
/// Note that <see cref="
_sources
"/> tells us what columns in <see cref="_sourceSchema"/> are put into <see cref="OutputSchema"/>.
105
for (int i = 0; i <
_sources
.Length; ++i)
109
var selectedIndex =
_sources
[i];
162
for (int i = 0; i <
_sources
.Length; i++)
165
active[
_sources
[i]] = true;
173
internal int GetSourceColumnIndex(int outputColumnIndex) =>
_sources
[outputColumnIndex];