ClassifierOptions<T>

Options & Configuration ยท AiDotNet.Models.Options

Configuration options for classification models, which are machine learning methods used to predict categorical outcomes (discrete classes) rather than continuous values.

Inheritance: ModelOptions โ†’ ClassifierOptions<T>

Known derived types: AdaBoostClassifierOptions<T>, CalibratedClassifierOptions<T>, DARTClassifierOptions<T>, DecisionTreeClassifierOptions<T>, DiscriminantAnalysisOptions<T>, ExplainableBoostingClassifierOptions<T>, ExtraTreesClassifierOptions<T>, GradientBoostingClassifierOptions<T>, KNeighborsOptions<T>, LinearClassifierOptions<T>, MLkNNOptions<T>, MetaClassifierOptions<T>, NGBoostClassifierOptions<T>, NaiveBayesOptions<T>, OnlineClassifierOptions<T>, OrdinalRegressionOptions<T>, RAkELOptions<T>, RandomForestClassifierOptions<T>, RocketOptions<T>, SVMOptions<T>, TimeSeriesClassifierOptions<T>

For Beginners

Classification is about predicting categories, not numbers.

Think of examples like:

  • Is this email spam or not? (Binary classification)
  • What type of animal is in this picture? (Multi-class classification)
  • What topics does this article cover? (Multi-label classification)
  • How satisfied is this customer? (Ordinal classification)

This class lets you configure how the classification model is set up and trained.

How It Works

Classification is a supervised learning technique where the goal is to predict which category or categories a sample belongs to. This class provides base configuration options for all classification models, with specific classifiers potentially extending these options.

Constructors

Constructor Summary
ClassifierOptions()

Properties

Property Summary
ClassificationTaskType TaskType { get; set; } Gets or sets the type of classification task.
bool UseClassWeights { get; set; } Gets or sets whether to use class weights to handle imbalanced datasets.
double DecisionThreshold { get; set; } Gets or sets the decision threshold for binary classification.
double[] ClassWeights { get; set; } Gets or sets custom class weights for each class.