Skip to content
Snippets Groups Projects
Commit 8cd68193 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Corrected all the args appreances in execClassif function

parent 8042fd00
Branches
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ def initBenchmark(CL_type, monoviewAlgos, multiviewAlgos, args):
['./MonoMultiViewClassifiers/MultiviewClassifiers/']) if isPackage]
if "Monoview" in CL_type:
if monoviewAlgos == ['']:
if monoviewAlgos == ['all']:
benchmark["Monoview"] = [name for _, name, isPackage in
pkgutil.iter_modules([
"./MonoMultiViewClassifiers/MonoviewClassifiers"])
......@@ -70,7 +70,7 @@ def initBenchmark(CL_type, monoviewAlgos, multiviewAlgos, args):
if "Multiview" in CL_type:
benchmark["Multiview"] = {}
if multiviewAlgos == [""]:
if multiviewAlgos == ["all"]:
algosMutliview = allMultiviewPackages
else:
algosMutliview = multiviewAlgos
......
......@@ -30,6 +30,12 @@ def genName(config):
def getBenchmark(benchmark, args=None):
"""Used to generate the list of fusion classifiers for the benchmark"""
##### PLaceholder
# To aviod problems with the new args, as Multiview will be reworked
args = None
###########
fusionModulesNames = [name for _, name, isPackage
in pkgutil.iter_modules(['./MonoMultiViewClassifiers/MultiviewClassifiers/Fusion/Methods']) if not isPackage]
fusionMethods = dict((fusionModulesName, [name for _, name, isPackage in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment