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

Corrected variable names"

parent 0714d5d5
No related branches found
No related tags found
No related merge requests found
......@@ -779,7 +779,20 @@ def exec_benchmark(nb_cores, stats_iter, nb_multiclass,
def exec_classif(arguments):
"""Main function to execute the benchmark"""
"""
Runs the benchmark with the given arguments
Parameters
----------
arguments :
Returns
-------
>>> exec_classif([--config_path, /path/to/config/files/])
>>>
"""
start = time.time()
args = execution.parse_the_args(arguments)
args = configuration.get_the_args(args.config_path)
......
......@@ -8,11 +8,11 @@ classifier_class_name = "BayesianInferenceClassifier"
class BayesianInferenceClassifier(LateFusionClassifier):
def __init__(self, random_state, classifier_names=None,
def __init__(self, random_state, classifiers_names=None,
classifier_configs=None, nb_view=None, nb_cores=1, weights=None):
self.need_probas=True
super(BayesianInferenceClassifier, self).__init__(random_state=random_state,
classifier_names=classifier_names,
classifiers_names=classifiers_names,
classifier_configs=classifier_configs,
nb_cores=nb_cores,
weights=weights)
......
......@@ -10,11 +10,11 @@ class VotingIndecision(Exception):
pass
class MajorityVoting(LateFusionClassifier):
def __init__(self, random_state, classifier_names=None,
def __init__(self, random_state, classifiers_names=None,
classifier_configs=None, weights=None, nb_cores=1):
self.need_probas=False
super(MajorityVoting, self).__init__(random_state=random_state,
classifier_names=classifier_names,
classifiers_names=classifiers_names,
classifier_configs=classifier_configs,
nb_cores=nb_cores,
weights=weights)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment