DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


LoadModelBin

Declaration: TMemBasedLearner.LoadModelBin (FName: string; var DataId: string): integer;
The function LoadModelBin loads the data model from the binary file FName. The variable parameter DataId returns the unique identifier which can be used to check whether the loaded model is suitable.

The function returns the following error codes:

 0 ... everything is OK
-1 ... the model cannot be read (it is most probably a file which does not contain MBL data)
-2 ... the specified file does not exist or cannot be accessed