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



LoadModelXML


Unit: SDL_membl
Class: TMemBasedLearner
Declaration: function LoadModelXML (FName: string; var DataId: string): integer;

The function LoadModelXML loads the data model from the XML file FName. The variable parameter DataId returns the unique identifier which can be used to check whether the loaded model is suitable. The returned function value is zero if the model has been read successfully, else a value of -1 is returned.

Hint: Please be aware of the fact that loading large XML models takes a lot of time. Thus it is strongly recommended to use LoadModelBin and StoreModelBin instead of the XML versions. LoadModelXML and StoreModelXML should be used for debugging purposes only.



Last Update: 2023-Feb-06