public class ExponentialSmoothing extends Object implements stream.Processor
@Parameter(required=true, description="This value changes the amount of smoothing that will take place. If alpha equals 1 the values remain unchanged. See http://en.wikipedia.org/wiki/Exponential_smoothing", min=0.0, max=1.0, defaultValue="0.5") public double alpha
@Parameter(required=true, description="The key to the double array to smooth") public String key
@Parameter(required=true, description="The outputKey to which the smoothed data will be written to the stream") public String outputKey
Copyright © 2019. All rights reserved.