You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, some of the learners in SharpLearning will output information during the training period. This includes the early stopping with gradient boost and neural networks. It should be possible to enable and disable these messages, and preferably, also possible to choose where the messages should be outputted. For instance to Console, Trace, or alternatively a log file.
This could be made by adding an Action to receive the message. This should probably be part of a separate interface, for learners supporting this. Something like:
We have a running ML solution, but I'm considering replacing the Neural Net bits with SharpLearning. This is one of the first things I will add since the progress given through to the user is important.
I would suggest added an overload to the Learn methods to take a progress Action. Inside the learning process, just check if Progress obj is not null.
Form should be Func<double,string,bool> double = percentage completed, string is some message, bool indicates if learning process should stop. e.g. timelimit of 10 minutes has been reached or user cancels operation.
Currently, some of the learners in SharpLearning will output information during the training period. This includes the early stopping with gradient boost and neural networks. It should be possible to enable and disable these messages, and preferably, also possible to choose where the messages should be outputted. For instance to
Console
,Trace
, or alternatively a log file.This could be made by adding an
Action
to receive the message. This should probably be part of a separate interface, for learners supporting this. Something like:The learners would then add the message to the log. Likewise, other algorithms like the optimizers could also implement this interface.
The text was updated successfully, but these errors were encountered: