cmfrec 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/cmfrec/recommender.rb +2 -5
- data/lib/cmfrec/version.rb +1 -1
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c549b3c94d2b80e94938f61694636fc35b85bb0217bec39d5234f81dbba1684b
|
4
|
+
data.tar.gz: e953ddaa00c5ba4b13838300aad880175db5d2c1531bf284866348b69ff2075b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53e65f7b6ab488238713ff468c438cf45ecdbe85608c505fe4a66f140486b279785355fbf4aaedd72f6c4d6bc5fad502c97d7d592c24c4952520186db83adef1
|
7
|
+
data.tar.gz: 4dd240635c221c6eada3c66f9fa244da90c342655ebcdf98731fbd805bec1015a51c72fdb87a1c6423b0994ccd9d4729a784d6af603a2f6154aa1178ef37bf6b
|
data/CHANGELOG.md
CHANGED
data/lib/cmfrec/recommender.rb
CHANGED
@@ -250,7 +250,6 @@ module Cmfrec
|
|
250
250
|
end
|
251
251
|
|
252
252
|
def to_json
|
253
|
-
require "base64"
|
254
253
|
require "json"
|
255
254
|
|
256
255
|
obj = {
|
@@ -812,16 +811,14 @@ module Cmfrec
|
|
812
811
|
end
|
813
812
|
|
814
813
|
def json_dump_ptr(ptr)
|
815
|
-
|
814
|
+
[ptr.to_s(ptr.size)].pack("m0") if ptr
|
816
815
|
end
|
817
816
|
|
818
817
|
def json_load_ptr(str)
|
819
|
-
Fiddle::Pointer[
|
818
|
+
Fiddle::Pointer[str.unpack1("m0")] if str
|
820
819
|
end
|
821
820
|
|
822
821
|
def json_load(obj)
|
823
|
-
require "base64"
|
824
|
-
|
825
822
|
@implicit = obj["implicit"]
|
826
823
|
|
827
824
|
# options
|
data/lib/cmfrec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmfrec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2024-
|
10
|
+
date: 2024-12-30 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: fiddle
|
@@ -24,7 +23,6 @@ dependencies:
|
|
24
23
|
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
25
|
version: '0'
|
27
|
-
description:
|
28
26
|
email: andrew@ankane.org
|
29
27
|
executables: []
|
30
28
|
extensions: []
|
@@ -51,7 +49,6 @@ homepage: https://github.com/ankane/cmfrec-ruby
|
|
51
49
|
licenses:
|
52
50
|
- MIT
|
53
51
|
metadata: {}
|
54
|
-
post_install_message:
|
55
52
|
rdoc_options: []
|
56
53
|
require_paths:
|
57
54
|
- lib
|
@@ -66,8 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
63
|
- !ruby/object:Gem::Version
|
67
64
|
version: '0'
|
68
65
|
requirements: []
|
69
|
-
rubygems_version: 3.
|
70
|
-
signing_key:
|
66
|
+
rubygems_version: 3.6.2
|
71
67
|
specification_version: 4
|
72
68
|
summary: Recommendations for Ruby using collective matrix factorization
|
73
69
|
test_files: []
|