@@ -66,7 +66,7 @@ def get_estimator(library_name: str, estimator_name: str):
6666 f"Using first { classes_map [estimator_name ][0 ]} ."
6767 )
6868 estimator = classes_map [estimator_name ][0 ]
69- #if not issubclass(estimator, BaseEstimator):
69+ # if not issubclass(estimator, BaseEstimator):
7070 # logger.info(f"{estimator} estimator is not derived from sklearn's BaseEstimator")
7171 return estimator
7272
@@ -515,11 +515,14 @@ def main(bench_case: BenchCase, filters: List[BenchCase]):
515515 estimator_params = get_bench_case_value (
516516 bench_case , "algorithm:estimator_params" , dict ()
517517 )
518- #logger.debug("estimator params: " + str(estimator_params))
518+ # logger.debug("estimator params: " + str(estimator_params))
519519 if "DBSCAN" in str (estimator_name ):
520520 if "min_samples" in estimator_params :
521521 from mpi4py import MPI
522- estimator_params ["min_samples" ] = MPI .COMM_WORLD .Get_size () * estimator_params ["min_samples" ]
522+
523+ estimator_params ["min_samples" ] = (
524+ MPI .COMM_WORLD .Get_size () * estimator_params ["min_samples" ]
525+ )
523526 # get estimator methods for measurement
524527 estimator_methods = get_estimator_methods (bench_case )
525528
@@ -555,7 +558,7 @@ def main(bench_case: BenchCase, filters: List[BenchCase]):
555558 # note: "handle" is not JSON-serializable
556559 if "handle" in estimator_params :
557560 del estimator_params ["handle" ]
558- #logger.debug(f"Estimator parameters:\n{custom_format(estimator_params)}")
561+ # logger.debug(f"Estimator parameters:\n{custom_format(estimator_params)}")
559562 result_template .update (estimator_params )
560563
561564 data_descs = {
0 commit comments