Fix value of HoltWinters seasonality param in builder

Should be `type`, not `seasonalityType`
This commit is contained in:
Zachary Tong 2015-07-08 18:56:29 -04:00
parent 531b894b5d
commit 1504b3d97d
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ public class HoltWintersModel extends MovAvgModel {
}
if (seasonalityType != null) {
builder.field("seasonalityType", seasonalityType);
builder.field("type", seasonalityType.getName());
}
builder.endObject();