Skip to content

Commit

Permalink
Updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
swansonk14 committed May 26, 2024
1 parent 348bf3d commit e4737ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chemfunc/regression_to_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def regression_to_classification(
Use case: Create a binary classification dataset with a gap between classes by specifying two thresholds
and deleting the class in between.
Ex: thresholds = [0.4, 0.6], delete_class_indices = {1} will label data < 0.4 as 0 and data >= 0.6 as 1
and will delete data in between 0.4 and 0.6.
(originally labeled 2) and will delete data in between 0.4 and 0.6 (originally labeled 1).
"""
# Load regression data
data = pd.read_csv(data_path)
Expand Down

0 comments on commit e4737ee

Please sign in to comment.