TsCholette extends AbstractTsBenchmarking { public void setRho(double value) { rho_ = value; }  double getRho(); BiasCorrection getBiasCorrection(); void setBiasCorrection(BiasCorrection bias); void setRho(double value); void setLambda(double lambda);  }
@Test public void testPartialYears() { TsData x = Data.X.drop(5, 8); TsData y = x.changeFrequency(TsFrequency.Yearly, TsAggregationType.Sum, true); x=addNoise(x); TsCholette cholette = new TsCholette(); TsData xc = cholette.process(x, y); TsData yc = xc.changeFrequency(TsFrequency.Yearly, TsAggregationType.Sum, true); assertTrue(y.distance(yc) < 1e-9); cholette.setRho(1); xc = cholette.process(x, y); yc = xc.changeFrequency(TsFrequency.Yearly, TsAggregationType.Sum, true); assertTrue(y.distance(yc) < 1e-9); }