diff --git a/imblearn/over_sampling/_smote.py b/imblearn/over_sampling/_smote.py index 905629de4..d9f44ed68 100644 --- a/imblearn/over_sampling/_smote.py +++ b/imblearn/over_sampling/_smote.py @@ -1290,7 +1290,7 @@ def _sample(self, X, y): if not valid_clusters: raise RuntimeError( "No clusters found with sufficient samples of " - "class {}. Try lowering the cluster_balance_threshold or " + "class {}. Try lowering the cluster_balance_threshold " "or increasing the number of " "clusters.".format(class_sample))