Verbose objects are capable of logging important events to any PSR-3 compatible logger such as Monolog, Analog, or the included Screen Logger. Logging is especially useful for monitoring the progress of the underlying learning algorithm in real time.

Set Logger#

To set the logger pass in any PSR-3 compatible logger instance:

public setLogger(LoggerInterface $logger) : void


use Rubix\ML\Other\Loggers\Screen;

$estimator->setLogger(new Screen('sentiment'));