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