Breast cancer surgery profiling by generalized additive mixed models