InverseFeatureScaling
Apply the inverse of feature scaling to one or more sample(s). [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,
ITcVnContainer* ipSamples,
ITcVnContainer* ipScales,
ITcVnContainer*& ipInverseSamples,
double fA = 0.0,
double fB = 1.0
)
Parameters
Name |
Type |
Default |
Description |
---|---|---|---|
hrPrev |
|
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
ipSamples |
|
Container holding one or more input sample(s) (ContainerType_Vector_REAL, ContainerType_Vector_LREAL, ContainerType_Vector_Vector_REAL, or ContainerType_Vector_Vector_LREAL) | |
ipScales |
|
Container with the scaling parameters of each feature (type ContainerType_Vector_REAL or ContainerType_Vector_LREAL). | |
ipInverseSamples |
|
Returns the inversed sample(s) using the scaling type and parameters of ipScales. It has the same type of ipSamples. If the same container ipSamples is used, the source data will be replaced. | |
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 |
Required License
TC3 Vision Machine Learning
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.54 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |