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