FExponentialMeanVarianceTracker

Exponential running mean calculator.

Choose your operating system:

Windows

macOS

Linux

References

Module

TimedDataMonitor

Header

/Engine/Plugins/VirtualProduction/TimedDataMonitor/Source/TimedDataMonitor/Public/TimedDataMonitorSubsystem.h

Include

#include "TimedDataMonitorSubsystem.h"

Syntax

struct FExponentialMeanVarianceTracker

Remarks

Exponential running mean calculator. Gives better result than incremental running mean when parameters change

Variables

Name Description

Public variable

float

 

Alpha

Weight given to new samples.

Public variable

float

 

CurrentMean

Current running mean

Public variable

float

 

CurrentSTD

Current standard deviation

Public variable

float

 

CurrentVariance

Current running variance

Public variable

float

 

LastValue

Last sample value used for statistics

Public variable

int32

 

SampleCount

Current number of samples used for the running average and variance

Constructors

Functions

Name Description

Public function

void

 

Reset()

Public function

void

 

Update

(
    float NewValue,
    float MeanOffset
)