From bcf78c085376ce90252b5753ae3e0e59da73640a Mon Sep 17 00:00:00 2001 From: Itsuki Toyota Date: Sun, 8 Aug 2021 21:16:32 +0900 Subject: [PATCH] 0.0.4 --- 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 1e8e0bb..b35732b 100644 --- a/Changes +++ b/Changes @@ -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] diff --git a/META6.json b/META6.json index e456bb9..428b0c3 100644 --- a/META6.json +++ b/META6.json @@ -31,5 +31,5 @@ ], "test-depends": [ ], - "version": "0.0.3" + "version": "0.0.4" } diff --git a/lib/Algorithm/XGBoost.rakumod b/lib/Algorithm/XGBoost.rakumod index f936886..e57a6e5 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.3>:auth; +unit class Algorithm::XGBoost:ver<0.0.4>: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 2ed1a77..d565dee 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.3>:auth is repr('CPointer'); +unit class Algorithm::XGBoost::Booster:ver<0.0.4>:auth is repr('CPointer'); diff --git a/lib/Algorithm/XGBoost/CustomBuilder.rakumod b/lib/Algorithm/XGBoost/CustomBuilder.rakumod index 5b380c3..4442116 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.3>:auth is Distribution::Builder::MakeFromJSON { +class Algorithm::XGBoost::CustomBuilder:ver<0.0.4>: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 9bb491b..efe2c52 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.3>:auth is repr('CPointer'); +unit class Algorithm::XGBoost::DMatrix:ver<0.0.4>: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 97ef119..0b935be 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.3>:auth is repr('CPointer'); +unit class Algorithm::XGBoost::Model:ver<0.0.4>:auth is repr('CPointer'); my constant $library = %?RESOURCES.Str; my sub XGBoosterGetNumFeature(Algorithm::XGBoost::Model, ulong is rw --> int32) is native($library) { * }