Skip to content

Commit

Permalink
0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed Aug 8, 2021
1 parent 608ecd3 commit bcf78c0
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.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]
- Add global-config method [#14]
- Add .save/.load method for Model [#15]

0.0.3 2021-08-08T03:05:46+09:00
- Remove phasers [#7]
- Make DMatrix.from-matrix enable to set labels [#6]
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.3"
"version": "0.0.4"
}
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.3>:auth<cpan:TITSUKI>;
unit class Algorithm::XGBoost:ver<0.0.4>: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.3>:auth<cpan:TITSUKI> is repr('CPointer');
unit class Algorithm::XGBoost::Booster:ver<0.0.4>: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.3>:auth<cpan:TITSUKI> is Distribution::Builder::MakeFromJSON {
class Algorithm::XGBoost::CustomBuilder:ver<0.0.4>: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.3>:auth<cpan:TITSUKI> is repr('CPointer');
unit class Algorithm::XGBoost::DMatrix:ver<0.0.4>: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.3>:auth<cpan:TITSUKI> is repr('CPointer');
unit class Algorithm::XGBoost::Model:ver<0.0.4>: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 bcf78c0

Please sign in to comment.