Interface IBayesPointMachineClassifier<TInstanceSource, TInstance, TLabelSource, TLabel, TLabelDistribution, TTrainingSettings, TPredictionSettings>
Interface to a Bayes point machine classifier.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners
Assembly: Microsoft.ML.Probabilistic.Learners.Classifier.dll
Syntax
public interface IBayesPointMachineClassifier<in TInstanceSource, in TInstance, in TLabelSource, TLabel, out TLabelDistribution, out TTrainingSettings, out TPredictionSettings> : IPredictor<TInstanceSource, TInstance, TLabelSource, TLabel, TLabelDistribution>, ILearner, IPredictorIncrementalTraining<TInstanceSource, TLabelSource>, ICustomSerializable where TTrainingSettings : BayesPointMachineClassifierTrainingSettings where TPredictionSettings : IBayesPointMachineClassifierPredictionSettings<TLabel>
Type Parameters
Name | Description |
---|---|
TInstanceSource | The type of a source of instances. |
TInstance | The type of an instance. |
TLabelSource | The type of a source of labels. |
TLabel | The type of a label. |
TLabelDistribution | The type of a distribution over labels in standard data format. |
TTrainingSettings | The type of the settings for training. |
TPredictionSettings | The type of the settings for prediction. |
Properties
LogModelEvidence
Gets the natural logarithm of the model evidence. Use this for model selection.
Declaration
double LogModelEvidence { get; }
Property Value
Type | Description |
---|---|
Double |
Settings
Gets the settings of the Bayes point machine classifier.
Declaration
IBayesPointMachineClassifierSettings<TLabel, TTrainingSettings, TPredictionSettings> Settings { get; }
Property Value
Type | Description |
---|---|
IBayesPointMachineClassifierSettings<TLabel, TTrainingSettings, TPredictionSettings> |
WeightPosteriorDistributions
Gets the posterior distributions of the weights of the Bayes point machine classifier.
Declaration
IReadOnlyList<IReadOnlyList<Gaussian>> WeightPosteriorDistributions { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<IReadOnlyList<Gaussian>> |
Events
IterationChanged
The event that is fired at the end of each iteration of the Bayes point machine classifier training algorithm.
Declaration
event EventHandler<BayesPointMachineClassifierIterationChangedEventArgs> IterationChanged
Event Type
Type | Description |
---|---|
EventHandler<BayesPointMachineClassifierIterationChangedEventArgs> |