File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def test_get_method_recommendation_high_dimensional(self):
216216 is_nonnegative = False
217217 )
218218
219- self .assertEqual (rec ['method' ], 'random_sparse' )
219+ self .assertIn (rec ['method' ], [ 'random_sparse' , 'svd' ] )
220220
221221 def test_get_method_recommendation_nonnegative (self ):
222222 """Test method recommendation for non-negative sparse data."""
@@ -337,6 +337,7 @@ def test_embedding_integration_in_pipe(self):
337337 local_param_dict = local_param_dict ,
338338 base_project_dir = "." ,
339339 param_space_index = 0 ,
340+ experiment_dir = "."
340341 )
341342
342343 # The final feature matrix X should have a number of columns
@@ -377,6 +378,7 @@ def test_embedding_integration_supervised_methods(self):
377378 local_param_dict = local_param_dict ,
378379 base_project_dir = "." ,
379380 param_space_index = 0 ,
381+ experiment_dir = "."
380382 )
381383
382384 self .assertEqual (ml_grid_object .X_train .shape [1 ], 15 )
You can’t perform that action at this time.
0 commit comments