Table of Contents

Enum LinearPenalty

Namespace
AiDotNet.Models.Options
Assembly
AiDotNet.dll

Penalty types for linear classifiers.

public enum LinearPenalty

Fields

ElasticNet = 3

Elastic Net - combination of L1 and L2.

L1 = 1

L1 (Lasso) regularization - promotes sparsity.

L2 = 2

L2 (Ridge) regularization - prevents large weights.

None = 0

No regularization.