tomoto 0.3.0-x86_64-linux → 0.3.2-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84b7f703e20dd5369af9dd0870a060d565cc02b35eeb478fa78d34f5d19fe237
4
- data.tar.gz: 9be4d3113323b349c8c35c2b2213fcf9db915c3ef3fabaf41ad64adfb36c5493
3
+ metadata.gz: ee297a6bc0b0924af7d5eb880daf0922e57635fa24dbced92261c99a5a321330
4
+ data.tar.gz: '0163269051abc276e4748337c1ad5d9e92cf563fce54a5b541cc88db5958acef'
5
5
  SHA512:
6
- metadata.gz: bde892b432153e8053120a2a4ea87f9744ac50ffbfca3b6a35c2994e99ee33eaa77886d833813ada0c511681321d6cd60e23c7e42708bcc31bf2a6575e31454c
7
- data.tar.gz: 4ddb6f191713db0d16a2f65080bdc9a8c771a15855579001ffe064c6b6b44cfbe64378df80fe64616b7a12f3110a0e4af53e72367d3677b2e23c6beed744bedc
6
+ metadata.gz: 73459d05fa990e8a5b44c845b20bc599659db1d8d22dc15dcdd5a28aa99acb40e8d0b338601126b1d39afeeb297e8ec235029dbc6d175df9b4811d9afbf5b997
7
+ data.tar.gz: fe0f88f2c4fbbae79674827ef69592fba7a6ea5d08e2d19f357f94a58bbdfae7c9c3c847027fb17710581332624ac67f29088ab3c83ab34139d85d40fcee41f2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.3.2 (2023-01-22)
2
+
3
+ - Added precompiled gem for Mac ARM
4
+ - Updated tomoto to 0.12.4
5
+
6
+ ## 0.3.1 (2023-01-12)
7
+
8
+ - Added support for Ruby 3.2
9
+
1
10
  ## 0.3.0 (2022-10-03)
2
11
 
3
12
  - Added precompiled gems for Linux and Mac
data/README.md CHANGED
@@ -12,6 +12,8 @@ Add this line to your application’s Gemfile:
12
12
  gem "tomoto"
13
13
  ```
14
14
 
15
+ ARM is not currently supported
16
+
15
17
  ## Getting Started
16
18
 
17
19
  Train a model
@@ -3,9 +3,17 @@ require "mkmf-rice"
3
3
  $CXXFLAGS += " -std=c++17 $(optflags) -DEIGEN_MPL2_ONLY"
4
4
 
5
5
  unless ENV["RUBY_CC_VERSION"]
6
- # AVX-512F not support yet
7
- # https://github.com/bab2min/tomotopy/issues/188
8
- $CXXFLAGS << " " << with_config("optflags", "-march=native -mno-avx512f")
6
+ default_optflags =
7
+ if RbConfig::CONFIG["host_os"] =~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
8
+ # -march=native not supported with Mac ARM
9
+ ""
10
+ else
11
+ # AVX-512F not supported yet
12
+ # https://github.com/bab2min/tomotopy/issues/188
13
+ "-march=native -mno-avx512f"
14
+ end
15
+
16
+ $CXXFLAGS << " " << with_config("optflags", default_optflags)
9
17
  end
10
18
 
11
19
  apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
data/ext/tomoto/lda.cpp CHANGED
@@ -49,12 +49,12 @@ void init_lda(Rice::Module& m) {
49
49
  })
50
50
  .define_method(
51
51
  "_make_doc",
52
- *[](tomoto::ILDAModel& self, std::vector<std::string> words) {
52
+ [](tomoto::ILDAModel& self, std::vector<std::string> words) {
53
53
  return DocumentObject(self.makeDoc(buildDoc(words)).release(), &self);
54
54
  })
55
55
  .define_method(
56
56
  "_infer",
57
- *[](tomoto::ILDAModel& self, DocumentObject& doc_object, size_t iteration, float tolerance, size_t workers, size_t ps, size_t together) {
57
+ [](tomoto::ILDAModel& self, DocumentObject& doc_object, size_t iteration, float tolerance, size_t workers, size_t ps, size_t together) {
58
58
  std::vector<tomoto::DocumentBase*> docs;
59
59
  auto doc = doc_object.doc;
60
60
  docs.emplace_back(const_cast<tomoto::DocumentBase*>(doc));
Binary file
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module Tomoto
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -2,8 +2,8 @@
2
2
  * @file EigenRand
3
3
  * @author bab2min (bab2min@gmail.com)
4
4
  * @brief
5
- * @version 0.4.0
6
- * @date 2021-09-17
5
+ * @version 0.4.1
6
+ * @date 2022-08-13
7
7
  *
8
8
  * @copyright Copyright (c) 2020-2021
9
9
  *
@@ -385,6 +385,10 @@ MIT License
385
385
 
386
386
  ## History
387
387
 
388
+ ### 0.4.1 (2022-08-13)
389
+ * Fixed a bug where double-type generation with std::mt19937 fails compilation.
390
+ * Fixed a bug where `UniformIntGen` in scalar mode generates numbers in the wrong range.
391
+
388
392
  ### 0.4.0 alpha (2021-09-28)
389
393
  * Now EigenRand supports ARM & ARM64 NEON architecture experimentally. Please report issues about ARM & ARM64 NEON.
390
394
  * Now EigenRand has compatibility to `Eigen 3.4.0`.
@@ -305,6 +305,13 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma
305
305
 
306
306
  역사
307
307
  -------
308
+ * 0.12.4 (2023-01-22)
309
+ * New features
310
+ * macOS ARM64 아키텍처에 대한 지원을 추가했습니다.
311
+ * Bug fixes
312
+ * `tomotopy.Document.get_sub_topic_dist()`가 bad argument 예외를 발생시키는 문제를 해결했습니다.
313
+ * 예외 발생이 종종 크래시를 발생시키는 문제를 해결했습니다.
314
+
308
315
  * 0.12.3 (2022-07-19)
309
316
  * 기능 개선
310
317
  * 이제 `tomotopy.LDAModel.add_doc()`로 빈 문서를 삽입할 경우 예외를 발생시키는 대신 그냥 무시합니다. 새로 추가된 인자인 `ignore_empty_words`를 False로 설정할 경우 이전처럼 예외를 발생시킵니다.
@@ -309,6 +309,13 @@ meaning you can use it for any reasonable purpose and remain in complete ownersh
309
309
 
310
310
  History
311
311
  -------
312
+ * 0.12.4 (2023-01-22)
313
+ * New features
314
+ * Added support for macOS ARM64 architecture.
315
+ * Bug fixes
316
+ * Fixed an issue where `tomotopy.Document.get_sub_topic_dist()` raises a bad argument exception.
317
+ * Fixed an issue where exception raising sometimes causes crashes.
318
+
312
319
  * 0.12.3 (2022-07-19)
313
320
  * New features
314
321
  * Now, inserting an empty document using `tomotopy.LDAModel.add_doc()` just ignores it instead of raising an exception. If the newly added argument `ignore_empty_words` is set to False, an exception is raised as before.
@@ -514,3 +521,18 @@ Bundled Libraries and Their License
514
521
 
515
522
  * Mapbox Variant: `BSD License
516
523
  <licenses_bundled/MapboxVariant>`_
524
+
525
+ Citation
526
+ ---------
527
+ ::
528
+
529
+ @software{minchul_lee_2022_6868418,
530
+ author = {Minchul Lee},
531
+ title = {bab2min/tomotopy: 0.12.3},
532
+ month = jul,
533
+ year = 2022,
534
+ publisher = {Zenodo},
535
+ version = {v0.12.3},
536
+ doi = {10.5281/zenodo.6868418},
537
+ url = {https://doi.org/10.5281/zenodo.6868418}
538
+ }
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomoto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Andrew Kane
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-04 00:00:00.000000000 Z
11
+ date: 2023-01-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description:
13
+ description:
14
14
  email: andrew@ankane.org
15
15
  executables: []
16
16
  extensions: []
@@ -39,6 +39,7 @@ files:
39
39
  - lib/tomoto/2.7/tomoto.so
40
40
  - lib/tomoto/3.0/tomoto.so
41
41
  - lib/tomoto/3.1/tomoto.so
42
+ - lib/tomoto/3.2/tomoto.so
42
43
  - lib/tomoto/ct.rb
43
44
  - lib/tomoto/dmr.rb
44
45
  - lib/tomoto/dt.rb
@@ -115,7 +116,7 @@ homepage: https://github.com/ankane/tomoto-ruby
115
116
  licenses:
116
117
  - MIT
117
118
  metadata: {}
118
- post_install_message:
119
+ post_install_message:
119
120
  rdoc_options: []
120
121
  require_paths:
121
122
  - lib
@@ -126,15 +127,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
127
  version: '2.7'
127
128
  - - "<"
128
129
  - !ruby/object:Gem::Version
129
- version: 3.2.dev
130
+ version: 3.3.dev
130
131
  required_rubygems_version: !ruby/object:Gem::Requirement
131
132
  requirements:
132
133
  - - ">="
133
134
  - !ruby/object:Gem::Version
134
135
  version: '0'
135
136
  requirements: []
136
- rubygems_version: 3.3.4
137
- signing_key:
137
+ rubygems_version: 3.3.26
138
+ signing_key:
138
139
  specification_version: 4
139
140
  summary: High performance topic modeling for Ruby
140
141
  test_files: []