Function that is used for the calculation of the error.
List<String> errorFunction = [ 'sse', 'ce', ];