diff --git a/multiview_platform/MonoMultiViewClassifiers/Monoview/BoostUtils.py b/multiview_platform/MonoMultiViewClassifiers/Monoview/BoostUtils.py index af8396cdf4ec7a541e8e9d43940d669cf9b23275..2faadb03d4409aaee32d2c8a42249e58077dca68 100644 --- a/multiview_platform/MonoMultiViewClassifiers/Monoview/BoostUtils.py +++ b/multiview_platform/MonoMultiViewClassifiers/Monoview/BoostUtils.py @@ -667,7 +667,7 @@ class BaseBoost(object): def getInterpretBase(classifier, directory, classifier_name, weights, break_cause=" the dual constrail was not violated"): interpretString = "\t "+classifier_name+" permformed classification with weights : \n" - weights_sort = np.argsort(weights) + weights_sort = np.argsort(-weights) interpretString += np.array2string(weights[weights_sort], precision=4, separator=',', suppress_small=True) interpretString += "\n \t It used {} iterations to converge, and selected {} couple(s) of opposed voters".format( len(weights_sort), classifier.nb_opposed_voters)