9 references to OutputColumns
Microsoft.ML.Data (9)
Commands\ScoreCommand.cs (9)
162
|| (ImplOptions.OutputAllColumns == null && Utils.Size(ImplOptions.
OutputColumns
) == 0 && outputIsBinary);
165
ImplOptions.OutputAllColumns == true || Utils.Size(ImplOptions.
OutputColumns
) == 0;
167
if (ImplOptions.OutputAllColumns == true && Utils.Size(ImplOptions.
OutputColumns
) != 0)
168
ch.Warning(nameof(ImplOptions.OutputAllColumns) + "=+ always writes all columns irrespective of " + nameof(ImplOptions.
OutputColumns
) + " specified.");
170
if (!outputAllColumns && Utils.Size(ImplOptions.
OutputColumns
) != 0)
172
foreach (var outCol in ImplOptions.
OutputColumns
)
175
throw ch.ExceptUserArg(nameof(Arguments.
OutputColumns
), "Column '{0}' not found.", outCol);
232
if (ImplOptions.
OutputColumns
!= null && Array.FindIndex(ImplOptions.
OutputColumns
, schema[i].Name.Equals) >= 0)