Commit 118c49b4 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files
parent 36596523
Pipeline #4116 failed with stage
in 2 minutes and 9 seconds
......@@ -676,9 +676,11 @@ def classify_image(image, train_spectra, train_labels, classif_alg, in_nodataVal
CPUs=CPUs)
elif classif_alg == 'kNN_FEDSA':
kw = dict(n_neighbors=kwargs['n_neighbors']) if 'n_neighbors' in kwargs else dict()
clf = kNN_FEDSA_Classifier(
train_spectra,
CPUs=CPUs)
CPUs=CPUs,
**kw)
elif classif_alg == 'SID':
clf = SID_Classifier(
......
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