Skip to content

Commit

Permalink
0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed Oct 27, 2019
1 parent a3fcd9f commit bf85bf1
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Revision history for Algorithm-LibSVM

{{$NEXT}}

0.0.9 2019-10-27T22:25:03+09:00
- load-problem takes into account comment lines [#46]

0.0.8 2019-10-20T18:51:36+09:00
- Fix default gamma value [#44]
- Use .all ~~ Pair comparison instead of Positional[Pair] constraint [#45]
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
"source-url" : "git://github.com/titsuki/p6-Algorithm-LibSVM.git",
"tags" : [ ],
"test-depends" : [ ],
"version" : "0.0.8"
"version" : "0.0.9"
}
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.8>;
unit class Algorithm::LibSVM:ver<0.0.9>;

has Int $.nr-feature;

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.8>;
unit class Algorithm::LibSVM::Actions:ver<0.0.9>;

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.8> is Distribution::Builder::MakeFromJSON {
class Algorithm::LibSVM::CustomBuilder:ver<0.0.9> 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.8>;
unit grammar Algorithm::LibSVM::Grammar:ver<0.0.9>;

token TOP { <bodylist> }
token number { '-'* \d+ [ \. \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.8> is export is repr('CPointer');
unit class Algorithm::LibSVM::Model:ver<0.0.9> 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.8> is export is repr('CStruct');
unit class Algorithm::LibSVM::Node:ver<0.0.9> 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.8> is export is repr('CStruct');
unit class Algorithm::LibSVM::Parameter:ver<0.0.9> is export is repr('CStruct');

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

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

unit class Algorithm::LibSVM::Problem:ver<0.0.8> is export is repr('CStruct');
unit class Algorithm::LibSVM::Problem:ver<0.0.9> is export is repr('CStruct');

has int32 $.l;
has CArray[num64] $!y;
Expand Down

0 comments on commit bf85bf1

Please sign in to comment.