Commit 738014bd authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fix.

parent e6fad2b5
Pipeline #3250 failed with stage
in 17 minutes and 23 seconds
......@@ -1568,7 +1568,7 @@ class RSImage_ClusterPredictor(object):
"sub-clustering. Setting 'n_clusters' to 1.")
self.n_clusters = 1
if self.classif_alg == 'kNN' and self.n_clusters > self.kNN_n_neighbors:
if self.classif_alg == 'kNN' and self.n_clusters < self.kNN_n_neighbors:
self.kNN_n_neighbors = self.n_clusters
def __getstate__(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment