Skip to content

Add verbose parameter to StructureBoost class #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nesuter
Copy link

@nesuter nesuter commented Mar 10, 2021

Creation of verbose parameter will allow user to specify if they want anything printed while training. Changes include adding verbose parameter in class initialization and adding verbose parameter to _output_loss function.

Detailed changes:

  • add verbose=1 to init parameters and create .verbose attribute

  • add self.verbose condition to "Stopping early" print message (line 275)

  • in function _output_loss, add verbose=1 parameter. create verbose condition before each print statement.

  • add verbose=self.verbose to calls of _output_loss in StructureBoost class (lines 247 and 265)

Creation of verbose parameter will allow user to specify if they want anything printed while training. Changes include adding verbose parameter in class initialization and adding verbose parameter to _output_loss function.

Detailed changes:

- add verbose=1 to __init__ parameters and create .verbose attribute

- add self.verbose condition to "Stopping early" print message (line 275)

- in function _output_loss, add verbose=1 parameter. create verbose condition before each print statement.

- add verbose=self.verbose to calls of _output_loss in StructureBoost class (lines 247 and 265)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant