Description Format Usage Arguments Details Fields Methods Examples
This class seems to be useless, but it gives more control about the algorithm and doesn't violate the idea of object programming here. Additionally, it is quite convenient to have this class instead of tracking the iteration at any stage of the fitting within the compboost object as another vector.
S4
object.
1 | LoggerIterationWrapper$new(use_as_stopper, max_iterations)
|
use_as_stopper
[logical(1)
]Boolean to indicate if the logger should also be used as stopper.
max_iterations
[integer(1)
]If the logger is used as stopper this argument defines the maximal iterations.
This class is a wrapper around the pure C++
implementation. To see
the functionality of the C++
class visit
https://schalkdaniel.github.io/compboost/cpp_man/html/classlogger_1_1_iteration_logger.html.
This class doesn't contain public fields.
summarizeLogger()
Summarize the logger object.
1 2 3 4 5 | # Define logger:
log.iters = LoggerIteration$new(FALSE, 100)
# Summarize logger:
log.iters$summarizeLogger()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.