AdversarialImageEvaluatorOptions

Options & Configuration · AiDotNet.Safety.Adversarial

Configuration options for AdversarialImageEvaluator.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → AdversarialImageEvaluatorOptions

How It Works

Introduced by issue #2090: the decision threshold was a constructor parameter, so the model advertised no configuration surface and the value could not be set through an options object.

Constructors

Constructor Summary
AdversarialImageEvaluatorOptions()

Properties

Property Summary
double Threshold { get; set; } Gets or sets the score above which an image is judged adversarial.

Methods

Method Summary
void Validate() Throws when a value on this instance cannot produce a working model.