diff --git a/dislib/model_selection/_search.py b/dislib/model_selection/_search.py index 00fb7cb2..9b55ed00 100644 --- a/dislib/model_selection/_search.py +++ b/dislib/model_selection/_search.py @@ -57,6 +57,10 @@ def fit(self, x, y=None, **fit_params): def train_candidates(self, x, y, **fit_params): """Run fit with all sets of parameters. + This method does not generate the scores. By not generating + the scores we avoid the syncrhonization of the GridSearch. + It is useful if several GridSearchs are used. To generate the + scores it will be needed to use score function. Parameters ---------- @@ -135,6 +139,7 @@ def evaluate_candidates(candidate_params): def score(self, x=None, y=None, **fit_params): """Compute score for the trained sets of parameters. + To compute the score a synchronization is needed. Parameters ----------