public static class EwmaModel.EWMAModelBuilder extends Object implements MovAvgModelBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
EWMAModelBuilder() |
Modifier and Type | Method and Description |
---|---|
EwmaModel.EWMAModelBuilder |
alpha(double alpha)
Alpha controls the smoothing of the data.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
public EwmaModel.EWMAModelBuilder alpha(double alpha)
alpha
- A double between 0-1 inclusive, controls data smoothingpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.