The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ApplyModel


Unit: SDL_statis
Class: TMLRModel
Declaration: function ApplyModel (Sensor: TVector; var YHat: double): integer;

The method ApplyModel applies the currently loaded MLR model to the data stored in Sensor. The estimated y value is returned in the variable parameter YHat.

The function returns the following error numbers:

 0 ... everything is OK
-1 ... length of Sensor does not match the model



Last Update: 2023-Dec-05