Skip to content

there should be an error for one changepoint with one data point #18

Description

@tdhock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions