Curve estimation from observed noisy data has broad applications. In certain applications, the underlying regression curve may have singularities, including jumps and roofs/valleys (i.e., jumps in the first order derivative of the regression curve), at some unknown positions, representing structural changes of the related process. Detection of such singularities is important for understanding t...