def _not_converged(y_truth, y_prediction, tol=0.001):
 return (np.abs((y_truth - y_prediction)).sum() > tol)

def _not_converged ( y_truth , y_prediction , tol = 0.001 ) : return ( np . abs ( ( y_truth - y_prediction ) ) . sum ( ) > tol )
basic convergence check .