Data\DataViewUtils.cs (6)
335ch.CheckParam(SameSchemaAndActivity(inputs), nameof(inputs), "Inputs not compatible for consolidation");
339ch.CheckParam(AllCacheable(schema, cursor.IsColumnActive), nameof(inputs), "Inputs had some uncachable input columns");
1125Ch.CheckParam(IsColumnActive(column), nameof(column), "requested column not active.");
1126Ch.CheckParam(column.Index < _colToActive.Length, nameof(column), "requested column is not active or valid for the Schema.");
1316Ch.CheckParam(IsColumnActive(column), nameof(column), "requested column not active");
1317Ch.CheckParam(column.Index < _colToActive.Length, nameof(column), "requested column not active or is invalid for the schema. ");
DataLoadSave\Binary\BinaryLoader.cs (7)
770_host.CheckParam(stream.CanRead, nameof(stream), "input stream must be readable");
771_host.CheckParam(stream.CanSeek, nameof(stream), "input stream must be seekable");
772_host.CheckParam(stream.Position == 0, nameof(stream), "input stream must be at head");
830_host.CheckParam(stream.CanRead, nameof(stream), "input stream must be readable");
831_host.CheckParam(stream.CanSeek, nameof(stream), "input stream must be seekable");
832_host.CheckParam(stream.Position == 0, nameof(stream), "input stream must be at head");
2037Ch.CheckParam(column.Index < _colToActivesIndex.Length, nameof(column), "requested column not active.");
DataLoadSave\DataOperationsCatalog.cs (6)
228_env.CheckParam(lowerBound < upperBound, nameof(upperBound), "Must be less than lowerBound");
260_env.CheckParam(0 <= lowerBound && lowerBound <= 1, nameof(lowerBound), "Must be in [0, 1]");
261_env.CheckParam(0 <= upperBound && upperBound <= 1, nameof(upperBound), "Must be in [0, 1]");
262_env.CheckParam(lowerBound <= upperBound, nameof(upperBound), "Must be no less than lowerBound");
414_env.CheckParam(0 < testFraction && testFraction < 1, nameof(testFraction), "Must be between 0 and 1 exclusive");
461_env.CheckParam(numberOfFolds > 1, nameof(numberOfFolds), "Must be more than 1");
Evaluators\RankingEvaluator.cs (5)
137Host.CheckParam(data.Schema.Label.HasValue, nameof(data), "Schema must contain a label column");
139Host.CheckParam(data.Schema.Group.HasValue, nameof(data), "Schema must contain a group column");
705Host.CheckParam(0 < truncationLevel, nameof(truncationLevel),
943Host.CheckParam(schema.Label.HasValue, nameof(schema), "Data must contain a label column");
944Host.CheckParam(schema.Group.HasValue, nameof(schema), "Data must contain a group column");