[MRG] Added message on keyboard interrupt.#7614
Conversation
|
For what it's worth, I think print makes more sense than warning in this case since it is an explicit action (Keyboard Interrupt) that was taken by the user. I would be in favor of a warning if training were interrupted in a more programmatic way so that the user code could respond more appropriately. |
|
I'm trained to believe that print to STDOUT without an option is always the wrong thing... |
|
I have no problem changing it if that's the desired behavior. I'll leave it up to you guys to decide what you want to happen. |
|
I'm ok with warning. |
|
Sounds good. I'll make the change this afternoon when I update another PR. |
|
It seems UserWarning is an appropriate category for this, so I left it as the default. Thoughts? |
|
seems good to me. |
|
Merging this one, thanks a lot! |
Reference Issue
Fix #7596
What does this implement/fix? Explain your changes.
Added message to user that training has been interrupted.
Any other comments?
Anything else that should happen besides alerting the user that training was stopped?