Giter VIP home page Giter VIP logo

Comments (4)

rkillick avatar rkillick commented on June 10, 2024

I'm not sure what caused this but it looks like it is fixed in the latest version 2.2.3 just sent to CRAN.

from changepoint.

tdhock avatar tdhock commented on June 10, 2024

Hi @rkillick thanks for the update! Now I see

> changepoint::cpt.mean(c(1,2,4), penalty="Manual", method="BinSeg", pen.value=0, Q=4)@param.est
Error in BINSEG(sumstat, pen = pen.value, cost_func = costfunc, minseglen = minseglen,  : 
  Q is larger than the maximum number of segments 2.5
> changepoint::cpt.mean(c(1,2,4), penalty="Manual", method="BinSeg", pen.value=0, Q=5)@param.est
Error in BINSEG(sumstat, pen = pen.value, cost_func = costfunc, minseglen = minseglen,  : 
  Q is larger than the maximum number of segments 2.5

This output is definitely better since the error messages are consistent.
However I am confused about the new error: what does it mean to have 2.5 segments?
Also my previous suggestion to change "segments" to "changepoints" would still be useful. As it is the error gives me impression that Q is the number of segments, but it is actually the number of changepoints, right?

from changepoint.

tdhock avatar tdhock commented on June 10, 2024

I suggest the following error: "Q is larger than the maximum number of changepoints 2"

from changepoint.

rkillick avatar rkillick commented on June 10, 2024

I've added the floor argument to the version headed to CRAN. Sorry I hadn't committed to github prior to sending the message.

from changepoint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.