Skip to content

Commit

Permalink
0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed Aug 10, 2021
1 parent c31bea5 commit 2a3be8b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Revision history for Algorithm-XGBoost

{{$NEXT}}

0.0.5 2021-08-10T23:34:56+09:00
- Make XGBoost.train enable to set parameter

0.0.4 2021-08-08T21:16:22+09:00
- Make missing option keyword argument [#9]
- Use NaN instead of 1e0 as the default value of missing [#11]
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
],
"test-depends": [
],
"version": "0.0.4"
"version": "0.0.5"
}
2 changes: 1 addition & 1 deletion lib/Algorithm/XGBoost.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use Algorithm::XGBoost::Booster;
use Algorithm::XGBoost::DMatrix;
use Algorithm::XGBoost::Model;

unit class Algorithm::XGBoost:ver<0.0.4>:auth<cpan:TITSUKI>;
unit class Algorithm::XGBoost:ver<0.0.5>:auth<cpan:TITSUKI>;

my constant $library = %?RESOURCES<libraries/xgboost>.Str;
my sub XGBoostVersion(int32 is rw, int32 is rw, int32 is rw) is native($library) { * }
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/XGBoost/Booster.rakumod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
use NativeCall;

unit class Algorithm::XGBoost::Booster:ver<0.0.4>:auth<cpan:TITSUKI> is repr('CPointer');
unit class Algorithm::XGBoost::Booster:ver<0.0.5>:auth<cpan:TITSUKI> is repr('CPointer');
2 changes: 1 addition & 1 deletion lib/Algorithm/XGBoost/CustomBuilder.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Zef::Fetch;
use Zef::Extract;
use Distribution::Builder::MakeFromJSON;

class Algorithm::XGBoost::CustomBuilder:ver<0.0.4>:auth<cpan:TITSUKI> is Distribution::Builder::MakeFromJSON {
class Algorithm::XGBoost::CustomBuilder:ver<0.0.5>:auth<cpan:TITSUKI> is Distribution::Builder::MakeFromJSON {
method build(IO() $work-dir = $*CWD) {
my $goback = $*CWD;
my $workdir = ~$work-dir;
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/XGBoost/DMatrix.rakumod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use NativeCall;

unit class Algorithm::XGBoost::DMatrix:ver<0.0.4>:auth<cpan:TITSUKI> is repr('CPointer');
unit class Algorithm::XGBoost::DMatrix:ver<0.0.5>:auth<cpan:TITSUKI> is repr('CPointer');

my constant $library = %?RESOURCES<libraries/xgboost>.Str;
my sub XGDMatrixCreateFromFile(Str, int32, Algorithm::XGBoost::DMatrix is rw --> int32) is native($library) { * }
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/XGBoost/Model.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use NativeCall;
use Algorithm::XGBoost::DMatrix;
use Algorithm::XGBoost::Booster;

unit class Algorithm::XGBoost::Model:ver<0.0.4>:auth<cpan:TITSUKI> is repr('CPointer');
unit class Algorithm::XGBoost::Model:ver<0.0.5>:auth<cpan:TITSUKI> is repr('CPointer');

my constant $library = %?RESOURCES<libraries/xgboost>.Str;
my sub XGBoosterGetNumFeature(Algorithm::XGBoost::Model, ulong is rw --> int32) is native($library) { * }
Expand Down

0 comments on commit 2a3be8b

Please sign in to comment.