Sets bounds to be used during bounded scaling and unscaling.
Namespace:
Imsl.DataMining.NeuralAssembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public virtual void SetBounds( double realMin, double realMax, double targetMin, double targetMax ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub SetBounds ( _ realMin As Double, _ realMax As Double, _ targetMin As Double, _ targetMax As Double _ ) |
Visual C++ |
---|
public: virtual void SetBounds( double realMin, double realMax, double targetMin, double targetMax ) |
Parameters
- realMin
- Type: System..::.Double
A double containing the lowest expected value in the data to be filtered.
- realMax
- Type: System..::.Double
A double containing the largest expected value in the data to be filtered.
- targetMin
- Type: System..::.Double
A double containing the lowest allowed value in the filtered data.
- targetMax
- Type: System..::.Double
A double containing the largest allowed value in the filtered data.
Remarks
This method is normally called prior to calls to Encode or Decode. Otherwise the default bounds are realMin = 0, realMax = 1, targetMin = 0, and targetMax = 1. These bounds are ignored for unbounded scaling.