AI-XGBoost
view release on metacpan or search on metacpan
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
lib/AI/XGBoost/Booster.pm view on Meta::CPAN
=item dtrain
Training data (AI::XGBoost::DMatrix)
=item grad
Gradient of your objective function (Reference to an array)
=item hess
Hessian of your objective function, that is, second order gradient (Reference to an array)
=back
=head2 predict
Predict data using the trained model
=head3 Parameters
=over 4
lib/AI/XGBoost/CAPI/RAW.pm view on Meta::CPAN
parameter name
=item value
value of parameter
=back
=head2 XGBoosterBoostOneIter
Update the modelo, by directly specify grandient and second order gradient,
this can be used to replace UpdateOneIter, to support customized loss function
Parameters:
=over 4
=item handle
handle
=item dtrain
training data
=item grad
gradient statistics
=item hess
second order gradinet statistics
=item len
length of grad/hess array
=back
=head2 XGBoosterUpdateOneIter
Update the model in one round using dtrain
( run in 1.684 second using v1.01-cache-2.11-cpan-39bf76dae61 )