"This function is the simplest function in which I can reproduce the error (The data set is similarly a toy dataset)." . . . .