Algorithm-LBFGS
view release on metacpan or search on metacpan
...
# print out the iterations
fmin($eval_cb, $x0, 'verbose');
# log iterations information in the array ref $log
my $log = [];
fmin($eval_cb, $x0, 'logging', $log);
use Data::Dumper;
print Dumper $log;
user_data
The extra user data. It will be sent to both "evaluation_cb" and
"progress_cb".
get_status
Get the status of previous call of "fmin".
...
lib/Algorithm/LBFGS.pm view on Meta::CPAN
...
# print out the iterations
fmin($eval_cb, $x0, 'verbose');
# log iterations information in the array ref $log
my $log = [];
fmin($eval_cb, $x0, 'logging', $log);
use Data::Dumper;
print Dumper $log;
=head3 user_data
The extra user data. It will be sent to both L</"evaluation_cb"> and
L<"progress_cb">.
=head2 get_status
( run in 0.265 second using v1.01-cache-2.11-cpan-a5abf4f5562 )