method

validation_for_fit

validation_for_fit(msg, threshold)
public

Returns a proc that calls the specified fit method and asserts that the error is within a tolerable threshold.