Save Weights
Description
Saves Weights of Evidence coefficients or ranges to a file. The file format is determined automatically from the filename's extension.
Inputs
| Name | Type | Description |
|---|---|---|
| Weights | Weights Type | Weights of Evidence coefficients or ranges to save. |
| Filename | Weights Filename Type | Name and path of the file to save. If no path is given, the file is located relative to the model script. |
Optional Inputs
| Name | Type | Description | Default Value |
|---|---|---|---|
| Suffix Digits | Non Negative Integer Value Type | Number of digits used to render Step as a filename suffix. If Step needs more digits than this, it is used unmodified. If zero, no suffix is added. This is an advanced port. | 2 |
| Step | Non Negative Integer Value Type | Current step or model iteration, appended to Filename as a numeric suffix; automatically bound to the innermost compatible container. This is an advanced port. | .none |
| Workdir | Workdir Type | Work directory Filename is relative to; may be a folder or a Zip archive. When not bound, the directory containing the script is used. This is an advanced port. | .none |
Outputs
None.
Group
Notes
Two file formats are supported: the legacy DCF/TXT format, and CSV. In CSV format, the coefficients or ranges are represented as a table in the format “From*:real, To*:real, Variable*:string, Range_Lower_Limit*:real, Range_Upper_Limit*:real, Weight:real” (the Range_Upper_Limit column is optional).
If Step is .none, the saved filename has no numeric suffix.
Internal Name
SaveWeights