vectorflow ~master (2020-05-21T03:08:59Z)
Dub
Repo
SGDMonitor
vectorflow
monitor
Undocumented in source.
class
SGDMonitor {
bool
verbose
;
ulong
num_epochs
;
uint
num_cores
;
bool
with_loss
;
MonoTime
start_time
;
MonoTime
last_time
;
ulong
[]
examples_seen
;
ulong
[]
features_seen
;
ushort
[]
passes_seen
;
double
[]
acc_loss
;
char
[]
_bar_buff
;
char
[]
_buff_stdout_line
;
string
_pattern
;
bool
_isTerminal
;
ushort
_max_rows_no_term
;
float
_last_percent_displayed
;
ushort
_rows_no_term
;
this
(bool verbose_, ulong num_epochs_, uint num_cores_, MonoTime start_time_, bool with_loss_);
void
progress_callback
(uint core_id, ulong epoch, ulong num_examples, ulong num_features, double sum_loss);
void
wrap_up
();
}
Constructors
this
this
(bool verbose_, ulong num_epochs_, uint num_cores_, MonoTime start_time_, bool with_loss_)
Undocumented in source.
Members
Functions
progress_callback
void
progress_callback
(uint core_id, ulong epoch, ulong num_examples, ulong num_features, double sum_loss)
Undocumented in source. Be warned that the author may not have intended to support it.
wrap_up
void
wrap_up
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_bar_buff
char
[]
_bar_buff
;
Undocumented in source.
_buff_stdout_line
char
[]
_buff_stdout_line
;
Undocumented in source.
_isTerminal
bool
_isTerminal
;
Undocumented in source.
_last_percent_displayed
float
_last_percent_displayed
;
Undocumented in source.
_max_rows_no_term
ushort
_max_rows_no_term
;
Undocumented in source.
_pattern
string
_pattern
;
Undocumented in source.
_rows_no_term
ushort
_rows_no_term
;
Undocumented in source.
acc_loss
double
[]
acc_loss
;
Undocumented in source.
examples_seen
ulong
[]
examples_seen
;
Undocumented in source.
features_seen
ulong
[]
features_seen
;
Undocumented in source.
last_time
MonoTime
last_time
;
Undocumented in source.
num_cores
uint
num_cores
;
Undocumented in source.
num_epochs
ulong
num_epochs
;
Undocumented in source.
passes_seen
ushort
[]
passes_seen
;
Undocumented in source.
start_time
MonoTime
start_time
;
Undocumented in source.
verbose
bool
verbose
;
Undocumented in source.
with_loss
bool
with_loss
;
Undocumented in source.
Meta
Source
See Implementation
vectorflow
monitor
classes
SGDMonitor