Skip to content

Commit

Permalink
fix verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni committed Dec 22, 2023
1 parent 9a146f4 commit b92c8fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trane/core/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ def create_target_values(self, dataframes, verbose=False):
# Won't this always be normalized?
normalized_dataframe = self.get_normalized_dataframe(dataframes)
if self.has_parameters_set() is False:
print("Filter operation's parameters are not set, setting them now")
if verbose:
print("Filter operation's parameters are not set, setting them now")
thresholds = self.get_recommended_thresholds(dataframes)
self.set_parameters(thresholds[-1])

Expand Down

0 comments on commit b92c8fa

Please sign in to comment.