High-order curvatures and harmonicity regression