/
fct-logger.Rmd
63 lines (61 loc) · 2.68 KB
/
fct-logger.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: "Logger functionality"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Logger functionality}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
<table>
<tr>
<th>Logger</th>
<th>Description</th>
<th>Arguments</th>
</tr>
<tr>
<td><code>LoggerIteration</code></td>
<td>
The basic logger to log the current iteration. This one is defined automatically by calling <code>train()</code>.
</td>
<td>
<dt><b>use_as_stopper</b></dt> <dd>Boolean to indicate whether this logger should also used as stopping criteria</dd>
<dt><b>max_iterations</b></dt> <dd>Integer value specifying the maximal numbers of iterations</dd>
</td>
</tr>
<tr>
<td><code>LoggerInbagRisk</code></td>
<td>
Risk logging on the given train dataset.
</td>
<td>
<dt><b>use_as_stopper</b></dt> <dd>Boolean to indicate whether this logger should used as stopping criteria</dd>
<dt><b>used_loss</b></dt><dd><code>Loss</code> object that defined the empirical risk</dd>
<dt><b>eps_for_break</b></dt> <dd>Numeric value indicating the relative improvement which is used to stop the algorithm</dd>
</td>
</tr>
<tr>
<td><code>LoggerOobRisk</code></td>
<td>
Risk logging on a given out of bag dataset.
</td>
<td>
<dt><b>use_as_stopper</b></dt> <dd>Boolean to indicate whether this logger should used as stopping criteria</dd>
<dt><b>used_loss</b></dt><code>Loss</code> object that defined the empirical risk
<dt><b>eps_for_break</b></dt> <dd>Numeric value indicating the relative improvement which is used to stop the algorithm</dd>
<dt><b>patience</b></dt> <dd>Integer defining how many consecutive iterations must fulfill the stopping criteria to finally stop the algorithm</dd>
<dt><b>oob_data</b></dt> <dd>List of <code>Data</code> objects with the out of bag data. Note that a <code>data.frame</code> can be easily transformed by using <code>$prepareData()</code></dd>
<dt><b>oob_response</b></dt> <dd>Response object with the out of bag response. Note that a <code>Response</code> class can be easily created by <code>$prepareResponse()</code></dd>
</td>
</tr>
<tr>
<td><code>LoggerTime</code></td>
<td>
Time logging after each iteration.
</td>
<td>
<dt><b>use_as_stopper</b></dt> <dd>Boolean to indicate whether this logger should used as stopping criteria</dd>
<dt><b>max_time</b></dt> <dd>Integer value specifying the the maximal number of time units</dd>
<dt><b>time_unit</b></dt> <dd>Character value indicating the time unit (possible choices are minutes, seconds, or microseconds)</dd>
</td>
</tr>
</table>