15 implementations of CanSavePfa
Microsoft.ML.Data (15)
DataView\RowToRowMapperTransform.cs (1)
93bool ICanSavePfa.CanSavePfa => _mapper is ICanSavePfa pfaMapper ? pfaMapper.CanSavePfa : false;
Prediction\Calibrator.cs (3)
301bool ICanSavePfa.CanSavePfa => (_mapper as ICanSavePfa)?.CanSavePfa == true; 748bool ICanSavePfa.CanSavePfa => (_bindable as ICanSavePfa)?.CanSavePfa == true; 1701bool ICanSavePfa.CanSavePfa => true;
Scorers\GenericScorer.cs (1)
145bool ICanSavePfa.CanSavePfa => (Bindable as ICanSavePfa)?.CanSavePfa == true;
Scorers\MulticlassClassificationScorer.cs (1)
90bool ICanSavePfa.CanSavePfa => (_bindable as ICanSavePfa)?.CanSavePfa == true;
Scorers\PredictedLabelScorerBase.cs (1)
271bool ICanSavePfa.CanSavePfa => (Bindable as ICanSavePfa)?.CanSavePfa == true;
Scorers\SchemaBindablePredictorWrapper.cs (1)
47bool ICanSavePfa.CanSavePfa => (ValueMapper as ICanSavePfa)?.CanSavePfa == true;
Transforms\ColumnConcatenatingTransformer.cs (1)
426public bool CanSavePfa => true;
Transforms\KeyToValue.cs (1)
169public bool CanSavePfa => true;
Transforms\KeyToVector.cs (1)
612public bool CanSavePfa => true;
Transforms\Normalizer.cs (1)
725public bool CanSavePfa => true;
Transforms\TransformBase.cs (2)
145bool ICanSavePfa.CanSavePfa => true; 489bool ICanSavePfa.CanSavePfa => CanSavePfaCore;
Transforms\ValueToKeyMappingTransformer.cs (1)
714public bool CanSavePfa => true;
19 references to CanSavePfa
Microsoft.ML.Data (19)
DataView\RowToRowMapperTransform.cs (2)
93bool ICanSavePfa.CanSavePfa => _mapper is ICanSavePfa pfaMapper ? pfaMapper.CanSavePfa : false; 232Host.Check(pfa.CanSavePfa, "Cannot be saved as PFA.");
Model\Pfa\ICanSavePfa.cs (2)
34/// If <see cref="ICanSavePfa.CanSavePfa"/> is <c>false</c> this should not be called. 57/// Save as PFA. If <see cref="ICanSavePfa.CanSavePfa"/> is
Model\Pfa\SavePfaCommand.cs (3)
110if (pfaTransform == null || !pfaTransform.CanSavePfa) 161if (scorePfa?.CanSavePfa == true) 183Host.Assert(trans.CanSavePfa);
Prediction\Calibrator.cs (4)
301bool ICanSavePfa.CanSavePfa => (_mapper as ICanSavePfa)?.CanSavePfa == true; 366if (calibrator?.CanSavePfa != true) 748bool ICanSavePfa.CanSavePfa => (_bindable as ICanSavePfa)?.CanSavePfa == true; 786Host.Check(((ICanSavePfa)this).CanSavePfa, "Called despite not being savable");
Scorers\GenericScorer.cs (1)
145bool ICanSavePfa.CanSavePfa => (Bindable as ICanSavePfa)?.CanSavePfa == true;
Scorers\MulticlassClassificationScorer.cs (2)
90bool ICanSavePfa.CanSavePfa => (_bindable as ICanSavePfa)?.CanSavePfa == true; 215Contracts.Check(((ICanSavePfa)this).CanSavePfa, "Cannot be saved as PFA");
Scorers\PredictedLabelScorerBase.cs (1)
271bool ICanSavePfa.CanSavePfa => (Bindable as ICanSavePfa)?.CanSavePfa == true;
Scorers\SchemaBindablePredictorWrapper.cs (1)
47bool ICanSavePfa.CanSavePfa => (ValueMapper as ICanSavePfa)?.CanSavePfa == true;
Transforms\TransformBase.cs (3)
576Host.Assert(((ICanSavePfa)this).CanSavePfa); 628/// <c>true</c> from <see cref="ICanSavePfa.CanSavePfa"/>. Will be called 645Host.Assert(((ICanSavePfa)this).CanSavePfa);