public interface Stop
Stop
will finish the process (for example in a reduced number of iterations),Cancellation
will cancel the learning process, throwing an CancellationException
.Modifier and Type | Method and Description |
---|---|
boolean |
getCanStop()
When
true , indicates that the algorithm supports early stopping. |
boolean |
getStop()
When
true , indicates to the algorithm to complete early. |
void |
setStop(boolean value)
When
true , indicates to the algorithm to complete early. |
Copyright © 2023. All rights reserved.