Class StackingClassifierOptions<T>
- Namespace
- AiDotNet.Classification.Meta
- Assembly
- AiDotNet.dll
Configuration options for Stacking classifier.
public class StackingClassifierOptions<T> : MetaClassifierOptions<T>
Type Parameters
TThe data type used for calculations.
- Inheritance
-
StackingClassifierOptions<T>
- Inherited Members
Properties
CrossValidationFolds
Gets or sets the number of cross-validation folds.
public int CrossValidationFolds { get; set; }
Property Value
- int
Number of folds. Use 1 for no cross-validation. Default is 5.
Passthrough
Gets or sets whether to pass original features to the final estimator.
public bool Passthrough { get; set; }
Property Value
- bool
True to include original features. Default is false.
RandomState
Gets or sets the random state for reproducibility.
public int? RandomState { get; set; }
Property Value
- int?
UseProbabilities
Gets or sets whether to use probability predictions as meta-features.
public bool UseProbabilities { get; set; }
Property Value
- bool
True to use probabilities, false to use class predictions. Default is true.