Skip to content

Commit

Permalink
removing print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaz Mramor committed Jan 16, 2024
1 parent 8626d16 commit 0f9678b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions outrank/core_ranking.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ def compute_combined_features(
if args.reference_model_JSON:
combined_features = extract_features_from_reference_JSON(args.reference_model_JSON, combined_features_only = True)
full_combination_space = [combination.split(',') for combination in combined_features]
print(full_combination_space)
else:
full_combination_space = list(
itertools.combinations(all_columns, interaction_order),
Expand Down Expand Up @@ -501,7 +500,6 @@ def compute_batch_ranking(

focus_set.add(args.label_column)
focus_set = {x for x in focus_set if x in input_dataframe.columns}
print(focus_set)
input_dataframe = input_dataframe[list(focus_set)]

if args.transformers != 'none':
Expand Down
1 change: 0 additions & 1 deletion outrank/core_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ def extract_features_from_reference_JSON(json_path: str, combined_features_only
fields_space = content['desc'].get('fields', [])
joint_space = feature_space + fields_space


if combined_features_only:
return set([feature for feature in feature_space if len(feature.split(","))>1])

Expand Down

0 comments on commit 0f9678b

Please sign in to comment.