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....


Unit: SDL_statis
Class: TCrossValidator
Declaration: property OnModelApplyRequest: TOnModelApplyRequestEvent;
{ TOnModelApplyRequestEvent = procedure (Sender: TObject; PercentDone: integer; Predictors: TDoubleArray; var Response: TDoubleArray) of object; }

The OnModelApplyRequest event handler is called during cross validation whenever the current model (i.e. the model created in the last call of OnModelCreateRequest) has to be applied to a particular test object. The open array Predictors contains the independent variables of the test object. The calculated response(s) of the model has to be returned in the open array Response.

The parameter PercentDone reflects the progress of the cross validation (values between 0 and 100).

Last Update: 2012-Oct-20