Skip to content

Commit

Permalink
Update pod for .train
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed Aug 10, 2021
1 parent 8ce596a commit 97062e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ METHODS

Defined as:

method train(Algorithm::XGBoost::DMatrix $dmat, Int $num-iteration --> Algorithm::XGBoost::Model)
method train(Algorithm::XGBoost::DMatrix $dmat, Int $num-iteration, %param --> Algorithm::XGBoost::Model)

Trains a XGBoost model.

* `$dmat` The instance of Algorithm::XGBoost::DMatrix.

* `$num-iteration` The number of iterations for training.

* `%param` The parameter for training.

### version

Defined as:
Expand Down
4 changes: 3 additions & 1 deletion lib/Algorithm/XGBoost.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,16 @@ Algorithm::XGBoost is a Raku bindings for XGBoost ( https://github.com/dmlc/xgbo
Defined as:
method train(Algorithm::XGBoost::DMatrix $dmat, Int $num-iteration --> Algorithm::XGBoost::Model)
method train(Algorithm::XGBoost::DMatrix $dmat, Int $num-iteration, %param --> Algorithm::XGBoost::Model)
Trains a XGBoost model.
=item C<$dmat> The instance of Algorithm::XGBoost::DMatrix.
=item C<$num-iteration> The number of iterations for training.
=item C<%param> The parameter for training.
=head3 version
Defined as:
Expand Down

0 comments on commit 97062e1

Please sign in to comment.