|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....|
|Home MathPack Statis Class TCrossValidator Events OnModelCreateRequest|
|See also: OnModelApplyRequest|
The OnModelCreateRequest event handler is called during cross validation. In this event handler you have to create a new model using the objects contained in the open array ObjectList. The entries in this list are the row numbers (=object numbers) corresponding to XMat and YMat which have to be used for building the new model.
The variable parameter Success has to be set TRUE if the new model has been successfully established. If Success is set FALSE, or not set at all, an exception will be raised indicating the calling program that the cross validation cannot be performed.
The parameter PercentDone reflects the progress of the cross validation (values between 0 and 100).