All Downloads are FREE. Search and download functionalities are using the official Maven repository.

stream.data.MapValues.md Maven / Gradle / Ivy

There is a newer version: 0.9.10
Show newest version
MapValue
========

This processor provides a way to map values of a specific feature
onto other values. For example, mapping all labels `0.0` to the
value `-1.0` can be done using

      
      
This is useful, e.g. when required to map labels or other categorical
data to different values.

A more complex setting can be used by specifying the map in a `key=value`
file, e.g. stored as `my-map.txt`. With such a file, the processor can
be specified as:

      
      
where the `my-map.txt` file may look like

      false=-1.0
      true=1.0
      
which will map the string values `true` and `false` according to the map. 




© 2015 - 2024 Weber Informatics LLC | Privacy Policy