hi @diego-urgell in your edge case test file I see
ans <- BinSeg::BinSegModel(100, "BS", "mean_norm", 1)
There is one data point (100) with nCpts=1 (fourth argument), so there should be an error. It is not possible to compute any changepoints if there is only one data point.
hi @diego-urgell in your edge case test file I see
There is one data point (100) with nCpts=1 (fourth argument), so there should be an error. It is not possible to compute any changepoints if there is only one data point.