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

Passing tests

parent ee7c8cb3
No related branches found
No related tags found
No related merge requests found
......@@ -241,7 +241,11 @@ class Test_execOneBenchmark(unittest.TestCase):
{
"try": 0},
{
"try2": 100}]},
"try2": 100}],
"multiview":[{
"try3": 5},
{
"try4": 10}]},
benchmark="try",
views="try",
viewsIndices="try",
......@@ -295,7 +299,16 @@ class Test_execOneBenchmark_multicore(unittest.TestCase):
randomState="try",
hyperParamSearch="try",
metrics="try",
argumentDictionaries={"monoview": [{"try": 0}, {"try2": 100}]},
argumentDictionaries={
"monoview": [
{
"try": 0},
{
"try2": 100}],
"multiview":[{
"try3": 5},
{
"try4": 10}]},
benchmark="try",
views="try",
viewsIndices="try",
......
......@@ -31,7 +31,7 @@ class Test_WeightedLinearEarlyFusion(unittest.TestCase):
cls.monoview_classifier_name = "decision_tree"
cls.monoview_classifier_config = {"max_depth":1, "criterion": "gini", "splitter": "best"}
cls.classifier = weighted_linear_early_fusion.WeightedLinearEarlyFusion(
cls.view_weights,
random_state=cls.random_state, view_weights=cls.view_weights,
monoview_classifier=cls.monoview_classifier_name,
monoview_classifier_config=cls.monoview_classifier_config)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment