Class BayesPointMachineClassifierSettings<TLabel, TTrainingSettings, TPredictionSettings>
Abstract settings of the Bayes point machine classifier.
Inheritance
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners
Assembly: Microsoft.ML.Probabilistic.Learners.Classifier.dll
Syntax
[Serializable]
public abstract class BayesPointMachineClassifierSettings<TLabel, TTrainingSettings, TPredictionSettings> : IBayesPointMachineClassifierSettings<TLabel, TTrainingSettings, TPredictionSettings>, ISettings, ICustomSerializable where TTrainingSettings : BayesPointMachineClassifierTrainingSettings where TPredictionSettings : IBayesPointMachineClassifierPredictionSettings<TLabel>
Type Parameters
Name | Description |
---|---|
TLabel | The type of a label. |
TTrainingSettings | The type of the settings for training. |
TPredictionSettings | The type of the settings for prediction. |
Constructors
BayesPointMachineClassifierSettings()
Initializes a new instance of the BayesPointMachineClassifierSettings<TLabel, TTrainingSettings, TPredictionSettings> class.
Declaration
protected BayesPointMachineClassifierSettings()
BayesPointMachineClassifierSettings(IReader)
Initializes a new instance of the BayesPointMachineClassifierSettings<TLabel, TTrainingSettings, TPredictionSettings> class from a reader of a binary stream.
Declaration
protected BayesPointMachineClassifierSettings(IReader reader)
Parameters
Type | Name | Description |
---|---|---|
IReader | reader | The binary reader to read the settings of the Bayes point machine classifier from. |
Properties
Prediction
Gets or sets the settings of the Bayes point machine classifier which affect prediction.
Declaration
public TPredictionSettings Prediction { get; protected set; }
Property Value
Type | Description |
---|---|
TPredictionSettings |
Training
Gets or sets the settings of the Bayes point machine classifier which affect training.
Declaration
public TTrainingSettings Training { get; protected set; }
Property Value
Type | Description |
---|---|
TTrainingSettings |
Methods
SaveForwardCompatible(IWriter)
Saves the settings of the Bayes point machine classifier using the specified writer to a binary stream.
Declaration
public virtual void SaveForwardCompatible(IWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IWriter | writer | The writer to save the settings to. |