21 references to IsValid
Microsoft.ML.Core (5)
Data\AnnotationUtils.cs (2)
326Contracts.CheckParam(column.IsValid, nameof(column), "struct not initialized properly"); 341Contracts.CheckParam(col.IsValid, nameof(col), "struct not initialized properly");
Data\IEstimator.cs (3)
89Contracts.Check(source.IsValid, nameof(source)); 133Contracts.CheckParam(columns.All(c => c.IsValid), nameof(columns), "Some items are not initialized properly."); 211return column.IsValid;
Microsoft.ML.Data (8)
Prediction\CalibratorCatalog.cs (1)
89if (column.IsValid)
Training\TrainerEstimatorBase.cs (5)
65Host.CheckParam(feature.IsValid, nameof(feature), "not initialized properly"); 114if (WeightColumn.IsValid) 125if (LabelColumn.IsValid) 135Contracts.CheckParam(labelCol.IsValid, nameof(labelCol), "not initialized properly"); 136Host.Assert(LabelColumn.IsValid);
Transforms\ColumnConcatenatingEstimator.cs (1)
77_host.Assert(col.IsValid);
Transforms\ValueToKeyMappingEstimator.cs (1)
198Contracts.Assert(kv.IsValid);
Microsoft.ML.FastTree (1)
FastTreeRanking.cs (1)
122Contracts.Assert(labelCol.IsValid);
Microsoft.ML.LightGbm (1)
LightGbmRankingTrainer.cs (1)
270Contracts.Assert(labelCol.IsValid);
Microsoft.ML.StandardTrainers (4)
FactorizationMachine\FactorizationMachineTrainer.cs (2)
599if (WeightColumn.IsValid) 644if (WeightColumn.IsValid)
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (2)
145if (LabelColumn.IsValid) 166if (LabelColumn.IsValid)
Microsoft.ML.TorchSharp (2)
NasBert\TextClassificationTrainer.cs (2)
324if (Parent.SentenceColumn2.IsValid) 355if (Parent.SentenceColumn2.IsValid)