public static class EwmaModel.EWMAModelBuilder extends Object implements MovAvgModelBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
EwmaModel.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 ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.