Skip to content

Modifications on original MLPACK library

Qiang Kou edited this page Jul 24, 2014 · 1 revision

To avoid the maintenance tasks, we try to minimize the modification on MLPACK. However, for the integration and pass R CMD check, there are some changes we have to make. There is no changes in the methods, all modifications are in utility classes.

  • Log class provides four levels of log information. The logging functions are replaced with Rcpp::Rcout to redirect the output stream to R session.

  • cli class is used to parse the command line arguments. It relies on boost::program_options which requires additional linking. Since all arguments are passed from R, this class is removed.

  • SaveRestoreUtility class is used to store and restore MLPACK models from XML files. This class has been removed to avoid additional linking to libxml2.

  • Timer class is used in many methods for timing and print information into log. This class has been commented.

Clone this wiki locally