Save


Description

Save the model to disk.

Syntax

aModel.Save(FileName, DoRemember)

 

Parameter

Description

aModel

a Model object.

FileName

Optional. A string specifying the file in which to save the model. If FileName is not given, the name found in the model's FileName property is used. If no FileName is given and the FileName property is empty, then an error is raised.

DoRemember

Optional. A Boolean that tells if the filename used for saving should be remembered in the model's FileName property. The default value is True.

Remarks

If a model has nodes with CI distributions (see Distributions: an Overview), saving will make InferenceReady=False.

Return Value

None.

Example

See: Loading Models, etc.: an Overview

 

Also See

The Save Event

Applies To

Model