bluegreen-labs / phenocamr

An R Interface and Post-Processing Framework for PhenoCam Web Services
http://bluegreen-labs.github.io/phenocamr/
GNU Affero General Public License v3.0
21 stars 8 forks source link

change implementation of PELT #4

Closed khufkens closed 7 years ago

khufkens commented 8 years ago

Personal communications with Rebecca Killick r.killick@lancaster.ac.uk

"If you take the first differences of the data then you now have a 0-mean process and the problem reduces to a change in variance, i.e. cpt.var(gcc,method='PELT',penalty='SIC1'). I noticed in your code that you use smoothing splines on the data first. This is not advised as it changes the structure of the data and makes abrupt changes appear more gradual."

khufkens commented 7 years ago

changed to cpt.mean() with a fixed penalty factor for now.