Skip to content

Commit

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

{{$NEXT}}

0.0.6 2023-08-27T03:15:21+09:00
- Fix type discrepancy of num-row/num-col methods [#17]
- Use absolute path when extracting xgboost.tar.gz file [#18]
- Use xgboost v1.7.6 [#20]
- Upload to zef intead of cpan [#21]

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

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.5"
"version": "0.0.6"
}
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.5>:auth<zef:titsuki>;
unit class Algorithm::XGBoost:ver<0.0.6>:auth<zef: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.5>:auth<zef:titsuki> is repr('CPointer');
unit class Algorithm::XGBoost::Booster:ver<0.0.6>:auth<zef: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.5>:auth<zef:titsuki> is Distribution::Builder::MakeFromJSON {
class Algorithm::XGBoost::CustomBuilder:ver<0.0.6>:auth<zef: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.5>:auth<zef:titsuki> is repr('CPointer');
unit class Algorithm::XGBoost::DMatrix:ver<0.0.6>:auth<zef: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.5>:auth<zef:titsuki> is repr('CPointer');
unit class Algorithm::XGBoost::Model:ver<0.0.6>:auth<zef: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 87b3608

Please sign in to comment.