[mlpack] how to get the log information in one's own program
Chao Wang
chaowang at connect.hku.hk
Tue Apr 28 17:33:36 EDT 2015
Hi Ryan,
Thank you very much for your reply. Sorry that I should have elaborated
more. What I wanted to do is in the following scenario.
I have a cpp program in which I need to call LARS. I want to get more
verbose output when the function lars.Regress is called during the call. I
am wondering if it is possible.
I just take a glimpse into the lars.cpp. It seems that in the lars.cpp,
there are only Log::Warn, but not things like Log::Info. So I guess it is
not designed to be able to output more info, is it?
Thanks
Chao
On Tue, Apr 28, 2015 at 2:25 PM, Ryan Curtin <ryan at ratml.org> wrote:
> 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
>
--
Chao Wang
Email: w <chaowang at connect.hku.hk>an9c9 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cc.gatech.edu/pipermail/mlpack/attachments/20150428/40d8991a/attachment-0003.html>
More information about the mlpack
mailing list