Plot the progress of loss, learning-rate and word-counts
Source:R/fasttext_interface.R
plot_progress_logs.RdPlot the progress of loss, learning-rate and word-counts
Value
an object of class data.frame that includes the progress logs with columns 'progress', 'words_sec_thread', 'learning_rate' and 'loss'
Examples
if (FALSE) { # \dontrun{
library(fastText)
#-----------------------------------------------------------------
# the 'progress_data.txt' file corresponds to the 'path_output'
# parameter of the 'fasttext_interface()'. Therefore the user has
# to run first the 'fasttext_interface()' function to save the
# 'progress_data.txt' file to the desired folder.
#-----------------------------------------------------------------
res = plot_progress_logs(path = file.path(tempdir(), "progress_data.txt"),
plot = TRUE)
} # }