Skip to content

Commit

Permalink
remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunjunA committed Mar 12, 2024
1 parent 6956110 commit ac06865
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions machine/learn/skl_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,7 @@ def generate_results(model, input_data,

# calculate number of each class
each_class = input_data[target_name].value_counts()
print("each_class", each_class)
print("num_classes", num_classes)
# Temporary fix to handle NaN values
# n_splits = decision_rule_cv_based_on_classes(each_class)
# cv = StratifiedKFold(n_splits=n_splits)

features = input_data.drop(target_name, axis=1).values
target = input_data[target_name].values

Expand Down

0 comments on commit ac06865

Please sign in to comment.