OperatorBenchmarkOptions

Options & Configuration · AiDotNet.PhysicsInformed.Benchmarks

Configures the 1D smoothing-operator benchmark of OperatorBenchmarkSuite: each input is a random sine series on [0, 1], and the target is its moving average, which a predictor is scored against.

For Beginners

A quick sanity check for an operator-learning model: given a wiggly curve, can it output the smoothed curve? The error is reported relative to the size of the targets.

Constructors

Constructor Summary
OperatorBenchmarkOptions()

Properties

Property Summary
int MaxFrequency { get; set; } Gets or sets the number of sine modes in each random input curve.
int SampleCount { get; set; } Gets or sets the number of random curves scored.
int Seed { get; set; } Gets or sets the seed of the random curves, so a run can be repeated exactly.
int SmoothingWindow { get; set; } Gets or sets the width, in points, of the moving average that defines the target.
int SpatialPoints { get; set; } Gets or sets the number of points each input curve is sampled at.

Methods

Method Summary
void Validate() Throws ArgumentOutOfRangeException for any value outside its documented range.