From 87b360810e8fc1157356c5f0f51ba5ededb716c5 Mon Sep 17 00:00:00 2001 From: Itsuki Toyota Date: Sun, 27 Aug 2023 03:15:32 +0900 Subject: [PATCH] 0.0.6 --- Changes | 6 ++++++ META6.json | 2 +- lib/Algorithm/XGBoost.rakumod | 2 +- lib/Algorithm/XGBoost/Booster.rakumod | 2 +- lib/Algorithm/XGBoost/CustomBuilder.rakumod | 2 +- lib/Algorithm/XGBoost/DMatrix.rakumod | 2 +- lib/Algorithm/XGBoost/Model.rakumod | 2 +- 7 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index 2bcbaec..c16aa7c 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/META6.json b/META6.json index d24ccf0..9ac9462 100644 --- a/META6.json +++ b/META6.json @@ -31,5 +31,5 @@ ], "test-depends": [ ], - "version": "0.0.5" + "version": "0.0.6" } diff --git a/lib/Algorithm/XGBoost.rakumod b/lib/Algorithm/XGBoost.rakumod index 48cdfe1..cc9cb30 100644 --- a/lib/Algorithm/XGBoost.rakumod +++ b/lib/Algorithm/XGBoost.rakumod @@ -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; +unit class Algorithm::XGBoost:ver<0.0.6>:auth; my constant $library = %?RESOURCES.Str; my sub XGBoostVersion(int32 is rw, int32 is rw, int32 is rw) is native($library) { * } diff --git a/lib/Algorithm/XGBoost/Booster.rakumod b/lib/Algorithm/XGBoost/Booster.rakumod index 38ddc83..545c77b 100644 --- a/lib/Algorithm/XGBoost/Booster.rakumod +++ b/lib/Algorithm/XGBoost/Booster.rakumod @@ -1,3 +1,3 @@ use NativeCall; -unit class Algorithm::XGBoost::Booster:ver<0.0.5>:auth is repr('CPointer'); +unit class Algorithm::XGBoost::Booster:ver<0.0.6>:auth is repr('CPointer'); diff --git a/lib/Algorithm/XGBoost/CustomBuilder.rakumod b/lib/Algorithm/XGBoost/CustomBuilder.rakumod index 2432868..c2b1495 100644 --- a/lib/Algorithm/XGBoost/CustomBuilder.rakumod +++ b/lib/Algorithm/XGBoost/CustomBuilder.rakumod @@ -4,7 +4,7 @@ use Zef::Fetch; use Zef::Extract; use Distribution::Builder::MakeFromJSON; -class Algorithm::XGBoost::CustomBuilder:ver<0.0.5>:auth is Distribution::Builder::MakeFromJSON { +class Algorithm::XGBoost::CustomBuilder:ver<0.0.6>:auth is Distribution::Builder::MakeFromJSON { method build(IO() $work-dir = $*CWD) { my $goback = $*CWD; my $workdir = ~$work-dir; diff --git a/lib/Algorithm/XGBoost/DMatrix.rakumod b/lib/Algorithm/XGBoost/DMatrix.rakumod index a25d48d..c8e77a9 100644 --- a/lib/Algorithm/XGBoost/DMatrix.rakumod +++ b/lib/Algorithm/XGBoost/DMatrix.rakumod @@ -1,6 +1,6 @@ use NativeCall; -unit class Algorithm::XGBoost::DMatrix:ver<0.0.5>:auth is repr('CPointer'); +unit class Algorithm::XGBoost::DMatrix:ver<0.0.6>:auth is repr('CPointer'); my constant $library = %?RESOURCES.Str; my sub XGDMatrixCreateFromFile(Str, int32, Algorithm::XGBoost::DMatrix is rw --> int32) is native($library) { * } diff --git a/lib/Algorithm/XGBoost/Model.rakumod b/lib/Algorithm/XGBoost/Model.rakumod index 6d741e6..9023e7e 100644 --- a/lib/Algorithm/XGBoost/Model.rakumod +++ b/lib/Algorithm/XGBoost/Model.rakumod @@ -2,7 +2,7 @@ use NativeCall; use Algorithm::XGBoost::DMatrix; use Algorithm::XGBoost::Booster; -unit class Algorithm::XGBoost::Model:ver<0.0.5>:auth is repr('CPointer'); +unit class Algorithm::XGBoost::Model:ver<0.0.6>:auth is repr('CPointer'); my constant $library = %?RESOURCES.Str; my sub XGBoosterGetNumFeature(Algorithm::XGBoost::Model, ulong is rw --> int32) is native($library) { * }