|  | ## Write AML

#### Synopsis

Writes the values of all examples to a file.

#### Description

Writes values of all examples in an ExampleSet to a file. Both dense and sparse formats can be generate. These formats can be read using the Read AML and Read Sparse operators, respectively.

dense
  Each line of the generated data file is of the form

regular attributes <special attributes>

For example, each line could have the form

value1 value2 ... valueN <id> <label> <prediction> ... <confidences>

Values in parenthesis are optional and are only printed if they are available. The confidences are only given for nominal predictions. Other special attributes might be the example weight or the cluster number.

sparse
  Only non 0 values are written to the file, prefixed by a column index. See the description of SparseFormatExampleSource for details.
special

#### Input

- input: expects: ExampleSet

#### Output

- through:

#### Parameters

- example set file: File to save the example set to.
- attribute description file: File to save the attribute descriptions to.
- format: Format to use for output.
- zipped: Indicates if the data file content should be zipped.
- overwrite mode: Indicates if an existing table should be overwritten or if data should be appended.
- encoding: The encoding used for reading or writing files.

#### ExampleProcess