Synopsis
Writes the weights of all attributes of an example set to a file. Each line holds the name and the weight of one attribute.
Description
Writes the weights of all attributes of an example set to a file. Therefore a AttributeWeights object is needed in the input of this operator. Each line holds the name of one attribute and its weight. This file can be read in another process using the AttributeWeightsLoader and the AttributeWeightsApplier.
Input
- input: expects: AttributeWeights
Output
- through:
Parameters
- attribute weights file: Filename for the attribute weight file.
- encoding: The encoding used for reading or writing files.