Skip to content
Snippets Groups Projects
Commit 514881e6 authored by bbauvin's avatar bbauvin
Browse files

Removed binary obligation for SCM

parent 9cc12c4b
No related branches found
No related tags found
No related merge requests found
......@@ -75,15 +75,15 @@ def initMonoviewArguments(benchmark, argumentDictionaries, views, allViews, DATA
argumentDictionaries["Monoview"] = []
for view in views:
for classifier in benchmark["Monoview"]:
if classifier == "SCM":
if DATASET.get("View" + str(allViews.index(view))).attrs["binary"]:
arguments = {
"args": {classifier + "KWARGS": kwargsInit[classifier + "KWARGSInit"], "feat": view,
"CL_type": classifier, "nbClass": NB_CLASS}, "viewIndex": allViews.index(view)}
argumentDictionaries["Monoview"].append(arguments)
else:
pass
else:
# if classifier == "SCM":
# if DATASET.get("View" + str(allViews.index(view))).attrs["binary"]:
# arguments = {
# "args": {classifier + "KWARGS": kwargsInit[classifier + "KWARGSInit"], "feat": view,
# "CL_type": classifier, "nbClass": NB_CLASS}, "viewIndex": allViews.index(view)}
# argumentDictionaries["Monoview"].append(arguments)
# else:
# pass
# else:
arguments = {
"args": {classifier + "KWARGS": kwargsInit[classifier + "KWARGSInit"], "feat": view,
"CL_type": classifier, "nbClass": NB_CLASS}, "viewIndex": allViews.index(view)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment