Class BayesPointMachineClassifierTrainingSettings
Settings for the Bayes point machine classifier which affect training.
Inheritance
BayesPointMachineClassifierTrainingSettings
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners
Assembly: Microsoft.ML.Probabilistic.Learners.Classifier.dll
Syntax
[Serializable]
public class BayesPointMachineClassifierTrainingSettings : ICustomSerializable
Fields
BatchCountDefault
The default number of batches the training data is split into.
Declaration
public const int BatchCountDefault = 1
Field Value
Type | Description |
---|---|
Int32 |
ComputeModelEvidenceDefault
The default value indicating whether model evidence is computed during training.
Declaration
public const bool ComputeModelEvidenceDefault = false
Field Value
Type | Description |
---|---|
Boolean |
IterationCountDefault
The default number of iterations of the training algorithm.
Declaration
public const int IterationCountDefault = 30
Field Value
Type | Description |
---|---|
Int32 |
Properties
BatchCount
Gets or sets the number of batches the training data is split into.
Declaration
public int BatchCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ComputeModelEvidence
Gets or sets a value indicating whether model evidence is computed during training.
Declaration
public bool ComputeModelEvidence { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
This setting cannot be modified after training.
IterationCount
Gets or sets the number of iterations of the training algorithm.
Declaration
public int IterationCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
SaveForwardCompatible(IWriter)
Saves the training 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 training settings to. |