Skip to content

Commit

Permalink
get rid of print
Browse files Browse the repository at this point in the history
  • Loading branch information
serengil committed Dec 26, 2023
1 parent 9f001eb commit 9bf190d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion chefboost/training/Training.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,6 @@ def buildDecisionTree(
if df.Decision.dtypes == "object": # classification
pivot = pd.DataFrame(df.Decision.value_counts()).sort_values(by=["count"], ascending=False)
else_decision = f"return '{str(pivot.iloc[0].name)}'"
print(f"else decision is {else_decision}")

if enableParallelism != True:
functions.storeRule(file, (functions.formatRule(root), "else:"))
Expand Down

0 comments on commit 9bf190d

Please sign in to comment.