Skip to content

Commit

Permalink
0.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed Feb 26, 2022
1 parent 146a1d2 commit 446fe25
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ Revision history for Algorithm-LibSVM

{{$NEXT}}

0.0.15 2022-02-26T21:51:13+09:00
- Make Problem enable to have nr-feature [#58]
- Cast Int into Bool [#59]
- Allow explicit + sign when parsing label column [#61]
- Fix allocation size of CArray [#62]
- Deprecate load-problem [#60]

0.0.14 2021-07-23T13:38:45+09:00
- Make sure problem.y is feasible even if its instance was used by cross-validation [#56]

Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
],
"test-depends": [
],
"version": "0.0.14"
"version": "0.0.15"
}
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Algorithm::LibSVM::Model;
use Algorithm::LibSVM::Grammar;
use Algorithm::LibSVM::Actions;

unit class Algorithm::LibSVM:ver<0.0.14>;
unit class Algorithm::LibSVM:ver<0.0.15>;

my constant $library = %?RESOURCES<libraries/svm>.Str;

Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Actions.pm6
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use v6;
unit class Algorithm::LibSVM::Actions:ver<0.0.14>;
unit class Algorithm::LibSVM::Actions:ver<0.0.15>;

method TOP($/) { make $<bodylist>.made }
method bodylist($/) { make $<body>>>.made }
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/CustomBuilder.pm6
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use LibraryMake;
use Distribution::Builder::MakeFromJSON;

class Algorithm::LibSVM::CustomBuilder:ver<0.0.14> is Distribution::Builder::MakeFromJSON {
class Algorithm::LibSVM::CustomBuilder:ver<0.0.15> is Distribution::Builder::MakeFromJSON {
method build(IO() $work-dir = $*CWD) {
my $workdir = ~$work-dir;
my $srcdir = "$workdir/src";
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Grammar.pm6
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use v6;
unit grammar Algorithm::LibSVM::Grammar:ver<0.0.14>;
unit grammar Algorithm::LibSVM::Grammar:ver<0.0.15>;

token TOP { <bodylist> }
token number { ['-'|'+']* \d+ [ \. \d+ [ 'e' '-'? \d+ ]? ]? }
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Model.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use NativeCall;
use Algorithm::LibSVM::Node;
use Algorithm::LibSVM::Parameter;

unit class Algorithm::LibSVM::Model:ver<0.0.14> is export is repr('CPointer');
unit class Algorithm::LibSVM::Model:ver<0.0.15> is export is repr('CPointer');

my constant $library = %?RESOURCES<libraries/svm>.Str;

Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Node.pm6
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use v6;

unit class Algorithm::LibSVM::Node:ver<0.0.14> is export is repr('CStruct');
unit class Algorithm::LibSVM::Node:ver<0.0.15> is export is repr('CStruct');

has int32 $.index;
has num64 $.value;
Expand Down
2 changes: 1 addition & 1 deletion lib/Algorithm/LibSVM/Parameter.pm6
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use v6;
use NativeCall;

unit class Algorithm::LibSVM::Parameter:ver<0.0.14> is export is repr('CStruct');
unit class Algorithm::LibSVM::Parameter:ver<0.0.15> is export is repr('CStruct');

my constant $library = %?RESOURCES<libraries/svm>.Str;

Expand Down

0 comments on commit 446fe25

Please sign in to comment.