Table of Contents

Class VotingClassifierOptions<T>

Namespace
AiDotNet.Classification.Meta
Assembly
AiDotNet.dll

Configuration options for Voting classifier.

public class VotingClassifierOptions<T> : MetaClassifierOptions<T>

Type Parameters

T

The data type used for calculations.

Inheritance
VotingClassifierOptions<T>
Inherited Members

Properties

Voting

Gets or sets the voting type.

public VotingType Voting { get; set; }

Property Value

VotingType

Hard or soft voting. Default is hard voting.

Weights

Gets or sets the weights for each classifier.

public double[]? Weights { get; set; }

Property Value

double[]

Array of weights. If null, all classifiers have equal weight.