InverseFeatureScaling (float)

Apply the inverse of feature scaling to a single value. [fA, fB] should be used if the scaling has been performed using TCVN_FST1_MINMAX with a predetermined output range.

Syntax

Definition:

HRESULT InverseFeatureScaling(
    HRESULT         hrPrev,
    float           fSample,
    ITcVnContainer* ipScales,
    float&          fInverseSample,
    double          fA = 0.0,
    double          fB = 1.0
)

Parameters

Name

Type

Default

Description

hrPrev

HRESULT

HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.)

fSample

float

Sample value

ipScales

ITcVnContainer*

Container with the scaling parameters of each feature (type ContainerType_Vector_REAL or ContainerType_Vector_LREAL).

fInverseSample

float&

Returns the inversed sample.

fA

double

0.0

represents the lower bound of the range for TCVN_FST1_MINMAX

fB

double

1.0

represents the upper bound of the range for TCVN_FST1_MINMAX

InverseFeatureScaling (float) 1: Return value

HRESULT

Required License

TC3 Machine Learning Realtime Inference

System Requirements