libffm 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +1 -1
- data/README.md +8 -8
- data/ext/libffm/extconf.rb +4 -1
- data/lib/libffm/model.rb +1 -1
- data/lib/libffm/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbc7ebda36dab0e6d13aed6d06824e0a4510248098bde695e41c04bd91e55c33
|
4
|
+
data.tar.gz: b1ffb029a0b8c18ecd36bfd63b183b5dd898aed57d8fe9bebbd0fe93d02708e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c17c7a1a863d6b73f12929bdf95ec955a7fa5f7d0c36eb9a4e6b7f0796598da25aa75d2ad21e4a180733a629a328b2cdbb006b2fcdebc11029e81177d162dd0
|
7
|
+
data.tar.gz: fa70dcd097097e0dfc3a576440d5428652851b0459212d48ee804b599086bcb1bd99d9e35454f5f1917ec13c2c4ec05a7dadfef97609ae835d8d7849e854bdf2
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
# LIBFFM
|
1
|
+
# LIBFFM Ruby
|
2
2
|
|
3
3
|
[LIBFFM](https://github.com/ycjuan/libffm) - field-aware factorization machines - for Ruby
|
4
4
|
|
5
|
-
[![Build Status](https://github.com/ankane/libffm/workflows/build/badge.svg?branch=master)](https://github.com/ankane/libffm/actions)
|
5
|
+
[![Build Status](https://github.com/ankane/libffm-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/libffm-ruby/actions)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
9
|
Add this line to your application’s Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem
|
12
|
+
gem "libffm"
|
13
13
|
```
|
14
14
|
|
15
15
|
## Getting Started
|
@@ -69,22 +69,22 @@ Libffm::Model.new(
|
|
69
69
|
|
70
70
|
## History
|
71
71
|
|
72
|
-
View the [changelog](https://github.com/ankane/libffm/blob/master/CHANGELOG.md)
|
72
|
+
View the [changelog](https://github.com/ankane/libffm-ruby/blob/master/CHANGELOG.md)
|
73
73
|
|
74
74
|
## Contributing
|
75
75
|
|
76
76
|
Everyone is encouraged to help improve this project. Here are a few ways you can help:
|
77
77
|
|
78
|
-
- [Report bugs](https://github.com/ankane/libffm/issues)
|
79
|
-
- Fix bugs and [submit pull requests](https://github.com/ankane/libffm/pulls)
|
78
|
+
- [Report bugs](https://github.com/ankane/libffm-ruby/issues)
|
79
|
+
- Fix bugs and [submit pull requests](https://github.com/ankane/libffm-ruby/pulls)
|
80
80
|
- Write, clarify, or fix documentation
|
81
81
|
- Suggest or add new features
|
82
82
|
|
83
83
|
To get started with development:
|
84
84
|
|
85
85
|
```sh
|
86
|
-
git clone --recursive https://github.com/ankane/libffm.git
|
87
|
-
cd libffm
|
86
|
+
git clone --recursive https://github.com/ankane/libffm-ruby.git
|
87
|
+
cd libffm-ruby
|
88
88
|
bundle install
|
89
89
|
bundle exec rake compile
|
90
90
|
bundle exec rake test
|
data/ext/libffm/extconf.rb
CHANGED
@@ -2,7 +2,10 @@ require "mkmf-rice"
|
|
2
2
|
|
3
3
|
# -DUSESSE requires sse3
|
4
4
|
# TODO test for it or update fork to use __SSE3__
|
5
|
-
|
5
|
+
|
6
|
+
# -march=native not supported with ARM Mac
|
7
|
+
default_optflags = RbConfig::CONFIG["host_os"] =~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i ? "" : "-march=native"
|
8
|
+
$CXXFLAGS << " -std=c++17 $(optflags) " << with_config("optflags", default_optflags)
|
6
9
|
|
7
10
|
apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
|
8
11
|
|
data/lib/libffm/model.rb
CHANGED
data/lib/libffm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libffm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rice
|
@@ -49,7 +49,7 @@ files:
|
|
49
49
|
- vendor/libffm/ffm.h
|
50
50
|
- vendor/libffm/timer.cpp
|
51
51
|
- vendor/libffm/timer.h
|
52
|
-
homepage: https://github.com/ankane/libffm
|
52
|
+
homepage: https://github.com/ankane/libffm-ruby
|
53
53
|
licenses:
|
54
54
|
- MIT
|
55
55
|
metadata: {}
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
71
|
+
rubygems_version: 3.4.6
|
72
72
|
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: Field-aware factorization machines for Ruby
|