DirectionalAccuracyMetric<T>

Models & Types · AiDotNet.Finance.Evaluation

Fraction of steps where the forecast got the DIRECTION right (sign match) — the hit rate.

Implements: IFinancialMetric<T>

Constructors

Constructor Summary
DirectionalAccuracyMetric()

Properties

Property Summary
bool HigherIsBetter { get; }
string Name { get; }

Methods

Method Summary
double Compute(IReadOnlyList<double> predicted, IReadOnlyList<double> actual)