def fit_grid_point(X, y, estimator, parameters, train, test, scorer, verbose, error_score='raise', **fit_params):
 (score, n_samples_test, _) = _fit_and_score(estimator, X, y, scorer, train, test, verbose, parameters, fit_params, error_score)
 return (score, parameters, n_samples_test)

def fit_grid_point ( X , y , estimator , parameters , train , test , scorer , verbose , error_score = 'raise' , ** fit_params ) : ( score , n_samples_test , _ ) = _fit_and_score ( estimator , X , y , scorer , train , test , verbose , parameters , fit_params , error_score ) return ( score , parameters , n_samples_test )
run fit on one set of parameters .