[mlpack] how to get the log information in one's own program

Ryan Curtin ryan at ratml.org
Tue Apr 28 15:25:52 EDT 2015


On Tue, Apr 28, 2015 at 01:05:16PM -0500, Chao Wang wrote:
> Dear members of Mlpack list,
> 
> I am a relatively new user of the Mlpack. I wish that I can get the log
> information to be ouput into my own program.
> 
> Is there anyone aware of how to do this?
> 
> Any small problem illustrating the usage of the log is greatly appreciated.
> 
> Thanks in advance.

Hi Chao,

Can you explain more of what you mean?  You can use the mlpack Log
objects just like in the tutorial
(http://mlpack.org/doxygen.php?doc=iodoc.html):

Log::Info << "A message!" << std::endl;

Or do you mean something else?

Thanks,

Ryan

-- 
Ryan Curtin    | "I am a golden god!"
ryan at ratml.org |   - Russell



More information about the mlpack mailing list