lindeloev / mcp

Regression with Multiple Change Points
http://lindeloev.github.io/mcp
106 stars 19 forks source link

push algorithm to focus on high peaks? #172

Open svedwards opened 6 days ago

svedwards commented 6 days ago

Hi lindeloev -

I really love your program! However, using default values for parameters, it seems to often find changepoints for smaller peaks in the data than one would expect looking at it by eye. My data is somewhat noisy but there is often a single high peak that the method misses. Can I push it somehow to focus on the most extreme values on the y-axis? I attach an example. mcp_plot_fit1d_AI_All_ScYP8k311HRSCAF50ch4_1965_points.txt_1.pdf

svedwards commented 6 days ago

Just to clarify, here I used a single peak model: model = list( y ~ 1,
1 ~ 1,
1 ~ 1
) I realize I can set a strict prior to capture the big peak but is there a way to tweak the search algorithm parameters so it does this automatically?