oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Metrics

Functions

static float oevislib_net.Profile.Correlation (Profile inProfile1, Profile inProfile2, int inStart1, int inStart2, Optional< int > inLength, Optional< float > outCovariance, Optional< Profile > outProfile1, Optional< Profile > outProfile2)
 Computes the correlation between two sub-profiles (using the Pearson correlation coefficient).
static float oevislib_net.Profile.Distance (Profile inProfile1, Profile inProfile2, DistanceMeasure inDistanceMeasure, Optional< Range > inRange)
 Computes the distance between two profiles.

Detailed Description

Function Documentation

◆ Correlation()

float oevislib_net.Profile.Correlation ( Profile inProfile1,
Profile inProfile2,
int inStart1,
int inStart2,
Optional< int > inLength,
Optional< float > outCovariance,
Optional< Profile > outProfile1,
Optional< Profile > outProfile2 )
inlinestatic

Computes the correlation between two sub-profiles (using the Pearson correlation coefficient).

Parameters
inProfile1First profile.
inProfile2Second profile.
inStart1Start of the first sub-profile. Range: [0, +inf).
inStart2Start of the second sub-profile. Range: [0, +inf).
inLengthLength of the sub-profiles. Range: [2, +inf).
outCovarianceCovariance value.
outProfile1First sub-profile.
outProfile2Second sub-profile.
Returns
Correlation value.

◆ Distance()

float oevislib_net.Profile.Distance ( Profile inProfile1,
Profile inProfile2,
DistanceMeasure inDistanceMeasure,
Optional< Range > inRange )
inlinestatic

Computes the distance between two profiles.

Parameters
inProfile1First profile.
inProfile2Second profile.
inDistanceMeasureDistance's measure (mean error or mean-squared error).
inRangeRange of indices to consider.
Returns
Distance value.