rumale 0.18.5 → 0.18.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +3 -3
- data/CHANGELOG.md +4 -0
- data/Gemfile +7 -0
- data/README.md +1 -8
- data/lib/rumale/clustering/dbscan.rb +1 -1
- data/lib/rumale/clustering/hdbscan.rb +3 -3
- data/lib/rumale/clustering/k_means.rb +1 -1
- data/lib/rumale/clustering/k_medoids.rb +1 -1
- data/lib/rumale/clustering/power_iteration.rb +1 -1
- data/lib/rumale/clustering/single_linkage.rb +1 -1
- data/lib/rumale/clustering/snn.rb +2 -2
- data/lib/rumale/clustering/spectral_clustering.rb +2 -2
- data/lib/rumale/decomposition/factor_analysis.rb +1 -1
- data/lib/rumale/decomposition/fast_ica.rb +2 -2
- data/lib/rumale/decomposition/nmf.rb +1 -1
- data/lib/rumale/decomposition/pca.rb +1 -1
- data/lib/rumale/ensemble/ada_boost_classifier.rb +1 -1
- data/lib/rumale/ensemble/ada_boost_regressor.rb +1 -2
- data/lib/rumale/ensemble/extra_trees_classifier.rb +1 -1
- data/lib/rumale/ensemble/extra_trees_regressor.rb +1 -1
- data/lib/rumale/ensemble/gradient_boosting_classifier.rb +4 -4
- data/lib/rumale/ensemble/gradient_boosting_regressor.rb +4 -4
- data/lib/rumale/evaluation_measure/adjusted_rand_score.rb +1 -1
- data/lib/rumale/evaluation_measure/calinski_harabasz_score.rb +1 -1
- data/lib/rumale/evaluation_measure/davies_bouldin_score.rb +1 -1
- data/lib/rumale/evaluation_measure/mutual_information.rb +1 -1
- data/lib/rumale/evaluation_measure/normalized_mutual_information.rb +2 -2
- data/lib/rumale/evaluation_measure/purity.rb +1 -1
- data/lib/rumale/evaluation_measure/silhouette_score.rb +1 -1
- data/lib/rumale/kernel_approximation/nystroem.rb +1 -1
- data/lib/rumale/kernel_approximation/rbf.rb +1 -1
- data/lib/rumale/kernel_machine/kernel_fda.rb +1 -1
- data/lib/rumale/kernel_machine/kernel_pca.rb +1 -1
- data/lib/rumale/kernel_machine/kernel_svc.rb +1 -1
- data/lib/rumale/linear_model/elastic_net.rb +3 -3
- data/lib/rumale/linear_model/lasso.rb +3 -3
- data/lib/rumale/linear_model/linear_regression.rb +1 -1
- data/lib/rumale/linear_model/logistic_regression.rb +3 -3
- data/lib/rumale/linear_model/ridge.rb +1 -1
- data/lib/rumale/linear_model/svc.rb +3 -3
- data/lib/rumale/linear_model/svr.rb +3 -3
- data/lib/rumale/manifold/mds.rb +1 -1
- data/lib/rumale/manifold/tsne.rb +2 -2
- data/lib/rumale/naive_bayes/bernoulli_nb.rb +1 -1
- data/lib/rumale/naive_bayes/multinomial_nb.rb +1 -1
- data/lib/rumale/nearest_neighbors/vp_tree.rb +1 -1
- data/lib/rumale/neural_network/adam.rb +1 -1
- data/lib/rumale/optimizer/ada_grad.rb +1 -1
- data/lib/rumale/optimizer/adam.rb +1 -1
- data/lib/rumale/optimizer/nadam.rb +1 -1
- data/lib/rumale/optimizer/rmsprop.rb +2 -2
- data/lib/rumale/optimizer/yellow_fin.rb +1 -1
- data/lib/rumale/polynomial_model/factorization_machine_classifier.rb +2 -2
- data/lib/rumale/polynomial_model/factorization_machine_regressor.rb +2 -2
- data/lib/rumale/probabilistic_output.rb +2 -2
- data/lib/rumale/tree/extra_tree_classifier.rb +1 -1
- data/lib/rumale/tree/extra_tree_regressor.rb +1 -1
- data/lib/rumale/tree/gradient_tree_regressor.rb +4 -5
- data/lib/rumale/version.rb +1 -1
- data/rumale.gemspec +2 -12
- metadata +10 -108
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40d5504cf4463721f53a4202ed99ec3f015c571fbadf3a4a4c7e0ac6eb00c7a7
|
4
|
+
data.tar.gz: fae3bebad1e88aa166d9279e5f5a2de4ebbad5f79fd416fef68d33d4f66ba2c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9d32bc9bd5c5f37d27b06fcaa554c28f9a209debaaac4024c1c2a1f6fb367484ce760168f62a2d9e1ee24d9372ad9cccd1d36e7280f202734e5330105a995fa
|
7
|
+
data.tar.gz: c18470cb533df4f6315324942afc98b5c52f4b7f6246078f459987a3407b79ae60a42599f40bc6236d5adba3dc85799a091e0d7ae5e9a1a3fd9fc626206cbef2
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 0.18.6
|
2
|
+
- Fix some configuration files.
|
3
|
+
- Update API documentation.
|
4
|
+
|
1
5
|
# 0.18.5
|
2
6
|
- Add functions for calculation of cosine similarity and distance to [Rumale::PairwiseMetric](https://yoshoku.github.io/rumale/doc/Rumale/PairwiseMetric.html).
|
3
7
|
- Refactor some codes with Rubocop.
|
data/Gemfile
CHANGED
@@ -2,3 +2,10 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in rumale.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
gem 'coveralls', '~> 0.8'
|
7
|
+
gem 'numo-linalg', '>= 0.1.4'
|
8
|
+
gem 'parallel', '>= 1.17.0'
|
9
|
+
gem 'rake', '~> 12.0'
|
10
|
+
gem 'rake-compiler', '~> 1.0'
|
11
|
+
gem 'rspec', '~> 3.0'
|
data/README.md
CHANGED
@@ -200,7 +200,7 @@ $ ruby pipeline.rb
|
|
200
200
|
5-CV mean accuracy: 99.6 %
|
201
201
|
```
|
202
202
|
|
203
|
-
##
|
203
|
+
## Speed up
|
204
204
|
|
205
205
|
### Numo::Linalg
|
206
206
|
Loading the [Numo::Linalg](https://github.com/ruby-numo/numo-linalg) allows to perform matrix product of Numo::NArray using BLAS libraries.
|
@@ -259,13 +259,6 @@ When -1 is given to n_jobs parameter, all processors are used.
|
|
259
259
|
estimator = Rumale::Ensemble::RandomForestClassifier.new(n_jobs: -1, random_seed: 1)
|
260
260
|
```
|
261
261
|
|
262
|
-
|
263
|
-
## Development
|
264
|
-
|
265
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
266
|
-
|
267
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
268
|
-
|
269
262
|
## Contributing
|
270
263
|
|
271
264
|
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/rumale.
|
@@ -13,7 +13,7 @@ module Rumale
|
|
13
13
|
# cluster_labels = analyzer.fit_predict(samples)
|
14
14
|
#
|
15
15
|
# *Reference*
|
16
|
-
# - M
|
16
|
+
# - Ester, M., Kriegel, H-P., Sander, J., and Xu, X., "A density-based algorithm for discovering clusters in large spatial databases with noise," Proc. KDD' 96, pp. 266--231, 1996.
|
17
17
|
class DBSCAN
|
18
18
|
include Base::BaseEstimator
|
19
19
|
include Base::ClusterAnalyzer
|
@@ -15,9 +15,9 @@ module Rumale
|
|
15
15
|
# cluster_labels = analyzer.fit_predict(samples)
|
16
16
|
#
|
17
17
|
# *Reference*
|
18
|
-
# - R J. G. B
|
19
|
-
# - R J. G. B
|
20
|
-
# - L
|
18
|
+
# - Campello, R J. G. B., Moulavi, D., Zimek, A., and Sander, J., "Hierarchical Density Estimates for Data Clustering, Visualization, and Outlier Detection," TKDD, Vol. 10 (1), pp. 5:1--5:51, 2015.
|
19
|
+
# - Campello, R J. G. B., Moulavi, D., and Sander, J., "Density-Based Clustering Based on Hierarchical Density Estimates," Proc. PAKDD'13, pp. 160--172, 2013.
|
20
|
+
# - Lelis, L., and Sander, J., "Semi-Supervised Density-Based Clustering," Proc. ICDM'09, pp. 842--847, 2009.
|
21
21
|
class HDBSCAN
|
22
22
|
include Base::BaseEstimator
|
23
23
|
include Base::ClusterAnalyzer
|
@@ -15,7 +15,7 @@ module Rumale
|
|
15
15
|
# cluster_labels = analyzer.fit_predict(samples)
|
16
16
|
#
|
17
17
|
# *Reference*
|
18
|
-
# - D
|
18
|
+
# - Arthur, D., and Vassilvitskii, S., "k-means++: the advantages of careful seeding," Proc. SODA'07, pp. 1027--1035, 2007.
|
19
19
|
class KMeans
|
20
20
|
include Base::BaseEstimator
|
21
21
|
include Base::ClusterAnalyzer
|
@@ -13,7 +13,7 @@ module Rumale
|
|
13
13
|
# cluster_labels = analyzer.fit_predict(samples)
|
14
14
|
#
|
15
15
|
# *Reference*
|
16
|
-
# - D
|
16
|
+
# - Arthur, D., and Vassilvitskii, S., "k-means++: the advantages of careful seeding," Proc. SODA'07, pp. 1027--1035, 2007.
|
17
17
|
class KMedoids
|
18
18
|
include Base::BaseEstimator
|
19
19
|
include Base::ClusterAnalyzer
|
@@ -13,7 +13,7 @@ module Rumale
|
|
13
13
|
# cluster_labels = analyzer.fit_predict(samples)
|
14
14
|
#
|
15
15
|
# *Reference*
|
16
|
-
# - F
|
16
|
+
# - Lin, F., and Cohen, W W., "Power Iteration Clustering," Proc. ICML'10, pp. 655--662, 2010.
|
17
17
|
class PowerIteration
|
18
18
|
include Base::BaseEstimator
|
19
19
|
include Base::ClusterAnalyzer
|
@@ -15,7 +15,7 @@ module Rumale
|
|
15
15
|
# cluster_labels = analyzer.fit_predict(samples)
|
16
16
|
#
|
17
17
|
# *Reference*
|
18
|
-
# -
|
18
|
+
# - Mullner, D., "Modern hierarchical, agglomerative clustering algorithms," arXiv:1109.2378, 2011.
|
19
19
|
class SingleLinkage
|
20
20
|
include Base::BaseEstimator
|
21
21
|
include Base::ClusterAnalyzer
|
@@ -13,8 +13,8 @@ module Rumale
|
|
13
13
|
# cluster_labels = analyzer.fit_predict(samples)
|
14
14
|
#
|
15
15
|
# *Reference*
|
16
|
-
# -
|
17
|
-
# - M E
|
16
|
+
# - Ertoz, L., Steinbach, M., and Kumar, V., "Finding Clusters of Different Sizes, Shapes, and Densities in Noisy, High Dimensional Data," Proc. SDM'03, pp. 47--58, 2003.
|
17
|
+
# - Houle, M E., Kriegel, H-P., Kroger, P., Schubert, E., and Zimek, A., "Can Shared-Neighbor Distances Defeat the Curse of Dimensionality?," Proc. SSDBM'10, pp. 482--500, 2010.
|
18
18
|
class SNN < DBSCAN
|
19
19
|
# Create a new cluster analyzer with Shared Neareset Neighbor method.
|
20
20
|
#
|
@@ -16,8 +16,8 @@ module Rumale
|
|
16
16
|
# cluster_labels = analyzer.fit_predict(samples)
|
17
17
|
#
|
18
18
|
# *Reference*
|
19
|
-
# - A Y
|
20
|
-
# -
|
19
|
+
# - Ng, A Y., Jordan, M I., and Weiss, Y., "On Spectral Clustering: Analyssi and an algorithm," Proc. NIPS'01, pp. 849--856, 2001.
|
20
|
+
# - von Luxburg, U., "A tutorial on spectral clustering," Statistics and Computing, Vol. 17 (4), pp. 395--416, 2007.
|
21
21
|
class SpectralClustering
|
22
22
|
include Base::BaseEstimator
|
23
23
|
include Base::ClusterAnalyzer
|
@@ -14,7 +14,7 @@ module Rumale
|
|
14
14
|
# representaion = decomposer.fit_transform(samples)
|
15
15
|
#
|
16
16
|
# *Reference*
|
17
|
-
# -
|
17
|
+
# - Barber, D., "Bayesian Reasoning and Machine Learning," Cambridge University Press, 2012.
|
18
18
|
class FactorAnalysis
|
19
19
|
include Base::BaseEstimator
|
20
20
|
include Base::Transformer
|
@@ -14,8 +14,8 @@ module Rumale
|
|
14
14
|
# source_data = transformer.fit_transform(observed_data)
|
15
15
|
#
|
16
16
|
# *Reference*
|
17
|
-
# - A
|
18
|
-
# - A
|
17
|
+
# - Hyvarinen, A., "Fast and Robust Fixed-Point Algorithms for Independent Component Analysis," IEEE Trans. Neural Networks, Vol. 10 (3), pp. 626--634, 1999.
|
18
|
+
# - Hyvarinen, A., and Oja, E., "Independent Component Analysis: Algorithms and Applications," Neural Networks, Vol. 13 (4-5), pp. 411--430, 2000.
|
19
19
|
class FastICA
|
20
20
|
include Base::BaseEstimator
|
21
21
|
include Base::Transformer
|
@@ -13,7 +13,7 @@ module Rumale
|
|
13
13
|
# representaion = decomposer.fit_transform(samples)
|
14
14
|
#
|
15
15
|
# *Reference*
|
16
|
-
# -
|
16
|
+
# - Xu, W., Liu, X., and Gong, Y., "Document Clustering Based On Non-negative Matrix Factorization," Proc. SIGIR' 03 , pp. 267--273, 2003.
|
17
17
|
class NMF
|
18
18
|
include Base::BaseEstimator
|
19
19
|
include Base::Transformer
|
@@ -18,7 +18,7 @@ module Rumale
|
|
18
18
|
# representaion = decomposer.fit_transform(samples)
|
19
19
|
#
|
20
20
|
# *Reference*
|
21
|
-
# - A
|
21
|
+
# - Sharma, A., and Paliwal, K K., "Fast principal component analysis using fixed-point algorithm," Pattern Recognition Letters, 28, pp. 1151--1155, 2007.
|
22
22
|
class PCA
|
23
23
|
include Base::BaseEstimator
|
24
24
|
include Base::Transformer
|
@@ -19,7 +19,7 @@ module Rumale
|
|
19
19
|
# results = estimator.predict(testing_samples)
|
20
20
|
#
|
21
21
|
# *Reference*
|
22
|
-
# -
|
22
|
+
# - Zhu, J., Rosset, S., Zou, H., and Hashie, T., "Multi-class AdaBoost," Technical Report No. 430, Department of Statistics, University of Michigan, 2005.
|
23
23
|
class AdaBoostClassifier
|
24
24
|
include Base::BaseEstimator
|
25
25
|
include Base::Classifier
|
@@ -18,8 +18,7 @@ module Rumale
|
|
18
18
|
# results = estimator.predict(testing_samples)
|
19
19
|
#
|
20
20
|
# *Reference*
|
21
|
-
# - D. L
|
22
|
-
#
|
21
|
+
# - Shrestha, D. L., and Solomatine, D. P., "Experiments with AdaBoost.RT, an Improved Boosting Scheme for Regression," Neural Computation 18 (7), pp. 1678--1710, 2006.
|
23
22
|
class AdaBoostRegressor
|
24
23
|
include Base::BaseEstimator
|
25
24
|
include Base::Regressor
|
@@ -18,7 +18,7 @@ module Rumale
|
|
18
18
|
# results = estimator.predict(testing_samples)
|
19
19
|
#
|
20
20
|
# *Reference*
|
21
|
-
# -
|
21
|
+
# - Geurts, P., Ernst, D., and Wehenkel, L., "Extremely randomized trees," Machine Learning, vol. 63 (1), pp. 3--42, 2006.
|
22
22
|
class ExtraTreesClassifier < RandomForestClassifier
|
23
23
|
# Return the set of estimators.
|
24
24
|
# @return [Array<ExtraTreeClassifier>]
|
@@ -18,7 +18,7 @@ module Rumale
|
|
18
18
|
# results = estimator.predict(testing_samples)
|
19
19
|
#
|
20
20
|
# *Reference*
|
21
|
-
# -
|
21
|
+
# - Geurts, P., Ernst, D., and Wehenkel, L., "Extremely randomized trees," Machine Learning, vol. 63 (1), pp. 3--42, 2006.
|
22
22
|
class ExtraTreesRegressor < RandomForestRegressor
|
23
23
|
# Return the set of estimators.
|
24
24
|
# @return [Array<ExtraTreeRegressor>]
|
@@ -18,10 +18,10 @@ module Rumale
|
|
18
18
|
# estimator.fit(training_samples, traininig_values)
|
19
19
|
# results = estimator.predict(testing_samples)
|
20
20
|
#
|
21
|
-
# *
|
22
|
-
# - J H
|
23
|
-
# - J H
|
24
|
-
# - T
|
21
|
+
# *Reference*
|
22
|
+
# - Friedman, J H., "Greedy Function Approximation: A Gradient Boosting Machine," Annals of Statistics, 29 (5), pp. 1189--1232, 2001.
|
23
|
+
# - Friedman, J H., "Stochastic Gradient Boosting," Computational Statistics and Data Analysis, 38 (4), pp. 367--378, 2002.
|
24
|
+
# - Chen, T., and Guestrin, C., "XGBoost: A Scalable Tree Boosting System," Proc. KDD'16, pp. 785--794, 2016.
|
25
25
|
#
|
26
26
|
class GradientBoostingClassifier
|
27
27
|
include Base::BaseEstimator
|
@@ -17,10 +17,10 @@ module Rumale
|
|
17
17
|
# estimator.fit(training_samples, traininig_values)
|
18
18
|
# results = estimator.predict(testing_samples)
|
19
19
|
#
|
20
|
-
# *
|
21
|
-
# - J H.
|
22
|
-
# - J H.
|
23
|
-
# - T
|
20
|
+
# *Reference*
|
21
|
+
# - Friedman, J H. "Greedy Function Approximation: A Gradient Boosting Machine," Annals of Statistics, 29 (5), pp. 1189--1232, 2001.
|
22
|
+
# - Friedman, J H. "Stochastic Gradient Boosting," Computational Statistics and Data Analysis, 38 (4), pp. 367--378, 2002.
|
23
|
+
# - Chen, T., and Guestrin, C., "XGBoost: A Scalable Tree Boosting System," Proc. KDD'16, pp. 785--794, 2016.
|
24
24
|
#
|
25
25
|
class GradientBoostingRegressor
|
26
26
|
include Base::BaseEstimator
|
@@ -11,7 +11,7 @@ module Rumale
|
|
11
11
|
# puts evaluator.score(ground_truth, predicted)
|
12
12
|
#
|
13
13
|
# *Reference*
|
14
|
-
# - N X
|
14
|
+
# - Vinh, N X., Epps, J., and Bailey, J., "Information Theoretic Measures for Clusterings Comparison: Variants, Properties, Normalization and Correction for Chance", J. Machine Learnig Research, Vol. 11, pp.2837--2854, 2010.
|
15
15
|
class AdjustedRandScore
|
16
16
|
include Base::Evaluator
|
17
17
|
|
@@ -11,7 +11,7 @@ module Rumale
|
|
11
11
|
# puts evaluator.score(x, predicted)
|
12
12
|
#
|
13
13
|
# *Reference*
|
14
|
-
# - T
|
14
|
+
# - Calinski, T., and Harabsz, J., "A dendrite method for cluster analysis," Communication in Statistics, Vol. 3 (1), pp. 1--27, 1972.
|
15
15
|
class CalinskiHarabaszScore
|
16
16
|
include Base::Evaluator
|
17
17
|
|
@@ -12,7 +12,7 @@ module Rumale
|
|
12
12
|
# puts evaluator.score(x, predicted)
|
13
13
|
#
|
14
14
|
# *Reference*
|
15
|
-
# - D L
|
15
|
+
# - Davies, D L., and Bouldin, D W., "A Cluster Separation Measure," IEEE Trans. Pattern Analysis and Machine Intelligence, Vol. PAMI-1, No. 2, pp. 224--227, 1979.
|
16
16
|
class DaviesBouldinScore
|
17
17
|
include Base::Evaluator
|
18
18
|
|
@@ -11,7 +11,7 @@ module Rumale
|
|
11
11
|
# puts evaluator.score(ground_truth, predicted)
|
12
12
|
#
|
13
13
|
# *Reference*
|
14
|
-
# - N X
|
14
|
+
# - Vinh, N X., Epps, J., and Bailey, J., "Information Theoretic Measures for Clusterings Comparison: Variants, Properties, Normalization and Correction for Chance," J. Machine Learning Research, vol. 11, pp. 2837--1854, 2010.
|
15
15
|
class MutualInformation
|
16
16
|
include Base::Evaluator
|
17
17
|
|
@@ -12,8 +12,8 @@ module Rumale
|
|
12
12
|
# puts evaluator.score(ground_truth, predicted)
|
13
13
|
#
|
14
14
|
# *Reference*
|
15
|
-
# - C D
|
16
|
-
# - N X
|
15
|
+
# - Manning, C D., Raghavan, P., and Schutze, H., "Introduction to Information Retrieval," Cambridge University Press., 2008.
|
16
|
+
# - Vinh, N X., Epps, J., and Bailey, J., "Information Theoretic Measures for Clusterings Comparison: Variants, Properties, Normalization and Correction for Chance," J. Machine Learning Research, vol. 11, pp. 2837--1854, 2010.
|
17
17
|
class NormalizedMutualInformation
|
18
18
|
include Base::Evaluator
|
19
19
|
|
@@ -11,7 +11,7 @@ module Rumale
|
|
11
11
|
# puts evaluator.score(ground_truth, predicted)
|
12
12
|
#
|
13
13
|
# *Reference*
|
14
|
-
# - C D
|
14
|
+
# - Manning, C D., Raghavan, P., and Schutze, H., "Introduction to Information Retrieval," Cambridge University Press., 2008.
|
15
15
|
class Purity
|
16
16
|
include Base::Evaluator
|
17
17
|
|
@@ -12,7 +12,7 @@ module Rumale
|
|
12
12
|
# puts evaluator.score(x, predicted)
|
13
13
|
#
|
14
14
|
# *Reference*
|
15
|
-
# - P J
|
15
|
+
# - Rousseuw, P J., "Silhouettes: A graphical aid to the interpretation and validation of cluster analysis," Journal of Computational and Applied Mathematics, Vol. 20, pp. 53--65, 1987.
|
16
16
|
class SilhouetteScore
|
17
17
|
include Base::Evaluator
|
18
18
|
|
@@ -16,7 +16,7 @@ module Rumale
|
|
16
16
|
# new_testing_samples = transformer.transform(testing_samples)
|
17
17
|
#
|
18
18
|
# *Reference*
|
19
|
-
#
|
19
|
+
# - Yang, T., Li, Y., Mahdavi, M., Jin, R., and Zhou, Z-H., "Nystrom Method vs Random Fourier Features: A Theoretical and Empirical Comparison," Advances in NIPS'12, Vol. 1, pp. 476--484, 2012.
|
20
20
|
class Nystroem
|
21
21
|
include Base::BaseEstimator
|
22
22
|
include Base::Transformer
|
@@ -15,7 +15,7 @@ module Rumale
|
|
15
15
|
# new_testing_samples = transformer.transform(testing_samples)
|
16
16
|
#
|
17
17
|
# *Refernce*:
|
18
|
-
#
|
18
|
+
# - Rahimi, A., and Recht, B., "Random Features for Large-Scale Kernel Machines," Proc. NIPS'07, pp.1177--1184, 2007.
|
19
19
|
class RBF
|
20
20
|
include Base::BaseEstimator
|
21
21
|
include Base::Transformer
|
@@ -18,7 +18,7 @@ module Rumale
|
|
18
18
|
# mapped_test_samples = kfda.transform(kernel_mat_test)
|
19
19
|
#
|
20
20
|
# *Reference*
|
21
|
-
# - Baudat, G
|
21
|
+
# - Baudat, G., and Anouar, F., "Generalized Discriminant Analysis using a Kernel Approach," Neural Computation, vol. 12, pp. 2385--2404, 2000.
|
22
22
|
class KernelFDA
|
23
23
|
include Base::BaseEstimator
|
24
24
|
include Base::Transformer
|
@@ -18,7 +18,7 @@ module Rumale
|
|
18
18
|
# mapped_test_samples = kpca.transform(kernel_mat_test)
|
19
19
|
#
|
20
20
|
# *Reference*
|
21
|
-
# -
|
21
|
+
# - Scholkopf, B., Smola, A., and Muller, K-R., "Nonlinear Component Analysis as a Kernel Eigenvalue Problem," Neural Computation, Vol. 10 (5), pp. 1299--1319, 1998.
|
22
22
|
class KernelPCA
|
23
23
|
include Base::BaseEstimator
|
24
24
|
include Base::Transformer
|
@@ -24,7 +24,7 @@ module Rumale
|
|
24
24
|
# results = estimator.predict(testing_kernel_matrix)
|
25
25
|
#
|
26
26
|
# *Reference*
|
27
|
-
#
|
27
|
+
# - Shalev-Shwartz, S., Singer, Y., Srebro, N., and Cotter, A., "Pegasos: Primal Estimated sub-GrAdient SOlver for SVM," Mathematical Programming, vol. 127 (1), pp. 3--30, 2011.
|
28
28
|
class KernelSVC
|
29
29
|
include Base::BaseEstimator
|
30
30
|
include Base::Classifier
|
@@ -15,9 +15,9 @@ module Rumale
|
|
15
15
|
# results = estimator.predict(testing_samples)
|
16
16
|
#
|
17
17
|
# *Reference*
|
18
|
-
# -
|
19
|
-
# -
|
20
|
-
# -
|
18
|
+
# - Shalev-Shwartz, S., and Singer, Y., "Pegasos: Primal Estimated sub-GrAdient SOlver for SVM," Proc. ICML'07, pp. 807--814, 2007.
|
19
|
+
# - Tsuruoka, Y., Tsujii, J., and Ananiadou, S., "Stochastic Gradient Descent Training for L1-regularized Log-linear Models with Cumulative Penalty," Proc. ACL'09, pp. 477--485, 2009.
|
20
|
+
# - Bottou, L., "Large-Scale Machine Learning with Stochastic Gradient Descent," Proc. COMPSTAT'10, pp. 177--186, 2010.
|
21
21
|
class ElasticNet < BaseSGD
|
22
22
|
include Base::Regressor
|
23
23
|
|
@@ -15,9 +15,9 @@ module Rumale
|
|
15
15
|
# results = estimator.predict(testing_samples)
|
16
16
|
#
|
17
17
|
# *Reference*
|
18
|
-
# -
|
19
|
-
# -
|
20
|
-
# -
|
18
|
+
# - Shalev-Shwartz, S., and Singer, Y., "Pegasos: Primal Estimated sub-GrAdient SOlver for SVM," Proc. ICML'07, pp. 807--814, 2007.
|
19
|
+
# - Tsuruoka, Y., Tsujii, J., and Ananiadou, S., "Stochastic Gradient Descent Training for L1-regularized Log-linear Models with Cumulative Penalty," Proc. ACL'09, pp. 477--485, 2009.
|
20
|
+
# - Bottou, L., "Large-Scale Machine Learning with Stochastic Gradient Descent," Proc. COMPSTAT'10, pp. 177--186, 2010.
|
21
21
|
class Lasso < BaseSGD
|
22
22
|
include Base::Regressor
|
23
23
|
|
@@ -21,7 +21,7 @@ module Rumale
|
|
21
21
|
# results = estimator.predict(testing_samples)
|
22
22
|
#
|
23
23
|
# *Reference*
|
24
|
-
# -
|
24
|
+
# - Bottou, L., "Large-Scale Machine Learning with Stochastic Gradient Descent," Proc. COMPSTAT'10, pp. 177--186, 2010.
|
25
25
|
class LinearRegression < BaseSGD
|
26
26
|
include Base::Regressor
|
27
27
|
|
@@ -20,9 +20,9 @@ module Rumale
|
|
20
20
|
# results = estimator.predict(testing_samples)
|
21
21
|
#
|
22
22
|
# *Reference*
|
23
|
-
# -
|
24
|
-
# -
|
25
|
-
# -
|
23
|
+
# - Shalev-Shwartz, S., Singer, Y., Srebro, N., and Cotter, A., "Pegasos: Primal Estimated sub-GrAdient SOlver for SVM," Mathematical Programming, vol. 127 (1), pp. 3--30, 2011.
|
24
|
+
# - Tsuruoka, Y., Tsujii, J., and Ananiadou, S., "Stochastic Gradient Descent Training for L1-regularized Log-linear Models with Cumulative Penalty," Proc. ACL'09, pp. 477--485, 2009.
|
25
|
+
# - Bottou, L., "Large-Scale Machine Learning with Stochastic Gradient Descent," Proc. COMPSTAT'10, pp. 177--186, 2010.
|
26
26
|
class LogisticRegression < BaseSGD
|
27
27
|
include Base::Classifier
|
28
28
|
|
@@ -21,7 +21,7 @@ module Rumale
|
|
21
21
|
# results = estimator.predict(testing_samples)
|
22
22
|
#
|
23
23
|
# *Reference*
|
24
|
-
# -
|
24
|
+
# - Bottou, L., "Large-Scale Machine Learning with Stochastic Gradient Descent," Proc. COMPSTAT'10, pp. 177--186, 2010.
|
25
25
|
class Ridge < BaseSGD
|
26
26
|
include Base::Regressor
|
27
27
|
|
@@ -22,9 +22,9 @@ module Rumale
|
|
22
22
|
# results = estimator.predict(testing_samples)
|
23
23
|
#
|
24
24
|
# *Reference*
|
25
|
-
# -
|
26
|
-
# -
|
27
|
-
# -
|
25
|
+
# - Shalev-Shwartz, S., and Singer, Y., "Pegasos: Primal Estimated sub-GrAdient SOlver for SVM," Proc. ICML'07, pp. 807--814, 2007.
|
26
|
+
# - Tsuruoka, Y., Tsujii, J., and Ananiadou, S., "Stochastic Gradient Descent Training for L1-regularized Log-linear Models with Cumulative Penalty," Proc. ACL'09, pp. 477--485, 2009.
|
27
|
+
# - Bottou, L., "Large-Scale Machine Learning with Stochastic Gradient Descent," Proc. COMPSTAT'10, pp. 177--186, 2010.
|
28
28
|
class SVC < BaseSGD
|
29
29
|
include Base::Classifier
|
30
30
|
|
@@ -19,9 +19,9 @@ module Rumale
|
|
19
19
|
# results = estimator.predict(testing_samples)
|
20
20
|
#
|
21
21
|
# *Reference*
|
22
|
-
# -
|
23
|
-
# -
|
24
|
-
# -
|
22
|
+
# - Shalev-Shwartz, S., and Singer, Y., "Pegasos: Primal Estimated sub-GrAdient SOlver for SVM," Proc. ICML'07, pp. 807--814, 2007.
|
23
|
+
# - Tsuruoka, Y., Tsujii, J., and Ananiadou, S., "Stochastic Gradient Descent Training for L1-regularized Log-linear Models with Cumulative Penalty," Proc. ACL'09, pp. 477--485, 2009.
|
24
|
+
# - Bottou, L., "Large-Scale Machine Learning with Stochastic Gradient Descent," Proc. COMPSTAT'10, pp. 177--186, 2010.
|
25
25
|
class SVR < BaseSGD
|
26
26
|
include Base::Regressor
|
27
27
|
|
data/lib/rumale/manifold/mds.rb
CHANGED
@@ -16,7 +16,7 @@ module Rumale
|
|
16
16
|
# representations = mds.fit_transform(samples)
|
17
17
|
#
|
18
18
|
# *Reference*
|
19
|
-
# - P J. F.
|
19
|
+
# - Groenen, P J. F. and van de Velden, M., "Multidimensional Scaling by Majorization: A Review," J. of Statistical Software, Vol. 73 (8), 2016.
|
20
20
|
class MDS
|
21
21
|
include Base::BaseEstimator
|
22
22
|
include Base::Transformer
|
data/lib/rumale/manifold/tsne.rb
CHANGED
@@ -19,8 +19,8 @@ module Rumale
|
|
19
19
|
# representations = tsne.fit_transform(samples)
|
20
20
|
#
|
21
21
|
# *Reference*
|
22
|
-
# -
|
23
|
-
# -
|
22
|
+
# - van der Maaten, L., and Hinton, G., "Visualizing data using t-SNE," J. of Machine Learning Research, vol. 9, pp. 2579--2605, 2008.
|
23
|
+
# - Yang, Z., King, I., Xu, Z., and Oja, E., "Heavy-Tailed Symmetric Stochastic Neighbor Embedding," Proc. NIPS'09, pp. 2169--2177, 2009.
|
24
24
|
class TSNE
|
25
25
|
include Base::BaseEstimator
|
26
26
|
include Base::Transformer
|
@@ -12,7 +12,7 @@ module Rumale
|
|
12
12
|
# results = estimator.predict(testing_samples)
|
13
13
|
#
|
14
14
|
# *Reference*
|
15
|
-
# - C D
|
15
|
+
# - Manning, C D., Raghavan, P., and Schutze, H., "Introduction to Information Retrieval," Cambridge University Press., 2008.
|
16
16
|
class BernoulliNB < BaseNaiveBayes
|
17
17
|
# Return the class labels.
|
18
18
|
# @return [Numo::Int32] (size: n_classes)
|
@@ -12,7 +12,7 @@ module Rumale
|
|
12
12
|
# results = estimator.predict(testing_samples)
|
13
13
|
#
|
14
14
|
# *Reference*
|
15
|
-
# - C D
|
15
|
+
# - Manning, C D., Raghavan, P., and Schutze, H., "Introduction to Information Retrieval," Cambridge University Press., 2008.
|
16
16
|
class MultinomialNB < BaseNaiveBayes
|
17
17
|
# Return the class labels.
|
18
18
|
# @return [Numo::Int32] (size: n_classes)
|
@@ -11,7 +11,7 @@ module Rumale
|
|
11
11
|
# This class is used internally for k-nearest neighbor estimators.
|
12
12
|
#
|
13
13
|
# *Reference*
|
14
|
-
# P N
|
14
|
+
# - Yianilos, P N., "Data Structures and Algorithms for Nearest Neighbor Search in General Metric Spaces," Proc. SODA'93, pp. 311--321, 1993.
|
15
15
|
class VPTree
|
16
16
|
include Validation
|
17
17
|
include Base::BaseEstimator
|
@@ -11,7 +11,7 @@ module Rumale
|
|
11
11
|
# Adam is a class that implements Adam optimizer.
|
12
12
|
#
|
13
13
|
# *Reference*
|
14
|
-
# - D P
|
14
|
+
# - Kingma, D P., and Ba, J., "Adam: A Method for Stochastic Optimization," Proc. ICLR'15, 2015.
|
15
15
|
class Adam
|
16
16
|
include Base::BaseEstimator
|
17
17
|
|
@@ -8,7 +8,7 @@ module Rumale
|
|
8
8
|
# AdaGrad is a class that implements AdaGrad optimizer.
|
9
9
|
#
|
10
10
|
# *Reference*
|
11
|
-
# -
|
11
|
+
# - Duchi, J., Hazan, E., and Singer, Y., "Adaptive Subgradient Methods for Online Learning and Stochastic Optimization," J. Machine Learning Research, vol. 12, pp. 2121--2159, 2011.
|
12
12
|
class AdaGrad
|
13
13
|
include Base::BaseEstimator
|
14
14
|
include Validation
|
@@ -8,7 +8,7 @@ module Rumale
|
|
8
8
|
# Adam is a class that implements Adam optimizer.
|
9
9
|
#
|
10
10
|
# *Reference*
|
11
|
-
# - D P
|
11
|
+
# - Kingma, D P., and Ba, J., "Adam: A Method for Stochastic Optimization," Proc. ICLR'15, 2015.
|
12
12
|
class Adam
|
13
13
|
include Base::BaseEstimator
|
14
14
|
include Validation
|
@@ -9,7 +9,7 @@ module Rumale
|
|
9
9
|
# Nadam is a class that implements Nadam optimizer.
|
10
10
|
#
|
11
11
|
# *Reference*
|
12
|
-
# -
|
12
|
+
# - Dozat, T., "Incorporating Nesterov Momentum into Adam," Tech. Repo. Stanford University, 2015.
|
13
13
|
class Nadam
|
14
14
|
include Base::BaseEstimator
|
15
15
|
include Validation
|
@@ -8,8 +8,8 @@ module Rumale
|
|
8
8
|
# RMSProp is a class that implements RMSProp optimizer.
|
9
9
|
#
|
10
10
|
# *Reference*
|
11
|
-
# -
|
12
|
-
# -
|
11
|
+
# - Sutskever, I., Martens, J., Dahl, G., and Hinton, G., "On the importance of initialization and momentum in deep learning," Proc. ICML' 13, pp. 1139--1147, 2013.
|
12
|
+
# - Hinton, G., Srivastava, N., and Swersky, K., "Lecture 6e rmsprop," Neural Networks for Machine Learning, 2012.
|
13
13
|
class RMSProp
|
14
14
|
include Base::BaseEstimator
|
15
15
|
include Validation
|
@@ -8,7 +8,7 @@ module Rumale
|
|
8
8
|
# YellowFin is a class that implements YellowFin optimizer.
|
9
9
|
#
|
10
10
|
# *Reference*
|
11
|
-
# - J
|
11
|
+
# - Zhang, J., and Mitliagkas, I., "YellowFin and the Art of Momentum Tuning," CoRR abs/1706.03471, 2017.
|
12
12
|
class YellowFin
|
13
13
|
include Base::BaseEstimator
|
14
14
|
include Validation
|
@@ -19,8 +19,8 @@ module Rumale
|
|
19
19
|
# results = estimator.predict(testing_samples)
|
20
20
|
#
|
21
21
|
# *Reference*
|
22
|
-
# -
|
23
|
-
# -
|
22
|
+
# - Rendle, S., "Factorization Machines with libFM," ACM TIST, vol. 3 (3), pp. 57:1--57:22, 2012.
|
23
|
+
# - Rendle, S., "Factorization Machines," Proc. ICDM'10, pp. 995--1000, 2010.
|
24
24
|
class FactorizationMachineClassifier < BaseFactorizationMachine
|
25
25
|
include Base::Classifier
|
26
26
|
|
@@ -17,8 +17,8 @@ module Rumale
|
|
17
17
|
# results = estimator.predict(testing_samples)
|
18
18
|
#
|
19
19
|
# *Reference*
|
20
|
-
# -
|
21
|
-
# -
|
20
|
+
# - Rendle, S., "Factorization Machines with libFM," ACM TIST, vol. 3 (3), pp. 57:1--57:22, 2012.
|
21
|
+
# - Rendle, S., "Factorization Machines," Proc. ICDM'10, pp. 995--1000, 2010.
|
22
22
|
class FactorizationMachineRegressor < BaseFactorizationMachine
|
23
23
|
include Base::Regressor
|
24
24
|
|
@@ -12,8 +12,8 @@ module Rumale
|
|
12
12
|
# probs = 1 / (Numo::NMath.exp(params[0] * df + params[1]) + 1)
|
13
13
|
#
|
14
14
|
# *Reference*
|
15
|
-
#
|
16
|
-
#
|
15
|
+
# - Platt, J C., "Probabilistic Outputs for Support Vector Machines and Comparisons to Regularized Likelihood Methods," Adv. Large Margin Classifiers, pp. 61--74, 2000.
|
16
|
+
# - Lin, H-T., Lin, C-J., and Weng, R C., "A Note on Platt's Probabilistic Outputs for Support Vector Machines," J. Machine Learning, Vol. 63 (3), pp. 267--276, 2007.
|
17
17
|
module ProbabilisticOutput
|
18
18
|
class << self
|
19
19
|
# Fit the probabilistic model for binary SVM outputs.
|
@@ -14,7 +14,7 @@ module Rumale
|
|
14
14
|
# results = estimator.predict(testing_samples)
|
15
15
|
#
|
16
16
|
# *Reference*
|
17
|
-
# -
|
17
|
+
# - Geurts, P., Ernst, D., and Wehenkel, L., "Extremely randomized trees," Machine Learning, vol. 63 (1), pp. 3--42, 2006.
|
18
18
|
class ExtraTreeClassifier < DecisionTreeClassifier
|
19
19
|
# Return the class labels.
|
20
20
|
# @return [Numo::Int32] (size: n_classes)
|
@@ -14,7 +14,7 @@ module Rumale
|
|
14
14
|
# results = estimator.predict(testing_samples)
|
15
15
|
#
|
16
16
|
# *Reference*
|
17
|
-
# -
|
17
|
+
# - Geurts, P., Ernst, D., and Wehenkel, L., "Extremely randomized trees," Machine Learning, vol. 63 (1), pp. 3--42, 2006.
|
18
18
|
class ExtraTreeRegressor < DecisionTreeRegressor
|
19
19
|
# Return the importance for each feature.
|
20
20
|
# @return [Numo::DFloat] (size: n_features)
|
@@ -10,11 +10,10 @@ module Rumale
|
|
10
10
|
# GradientTreeRegressor is a class that implements decision tree for regression with exact gredy algorithm.
|
11
11
|
# This class is used internally for estimators with gradient tree boosting.
|
12
12
|
#
|
13
|
-
# *
|
14
|
-
# - J H
|
15
|
-
# - J H
|
16
|
-
# - T
|
17
|
-
#
|
13
|
+
# *Reference*
|
14
|
+
# - Friedman, J H., "Greedy Function Approximation: A Gradient Boosting Machine," Annals of Statistics, 29 (5), pp. 1189--1232, 2001.
|
15
|
+
# - Friedman, J H., "Stochastic Gradient Boosting," Computational Statistics and Data Analysis, 38 (4), pp. 367--378, 2002.
|
16
|
+
# - Chen, T., and Guestrin, C., "XGBoost: A Scalable Tree Boosting System," Proc. KDD'16, pp. 785--794, 2016.
|
18
17
|
class GradientTreeRegressor
|
19
18
|
include Base::BaseEstimator
|
20
19
|
include Base::Regressor
|
data/lib/rumale/version.rb
CHANGED
data/rumale.gemspec
CHANGED
@@ -44,17 +44,7 @@ Gem::Specification.new do |spec|
|
|
44
44
|
'bug_tracker_uri' => 'https://github.com/yoshoku/rumale/issues'
|
45
45
|
}
|
46
46
|
|
47
|
-
spec.required_ruby_version = '>= 2.3'
|
48
|
-
|
49
47
|
spec.add_runtime_dependency 'numo-narray', '>= 0.9.1'
|
50
|
-
spec.add_runtime_dependency 'mopti', '
|
51
|
-
spec.add_runtime_dependency 'mmh3', '
|
52
|
-
|
53
|
-
spec.add_development_dependency 'bundler', '~> 2.0'
|
54
|
-
spec.add_development_dependency 'coveralls', '~> 0.8'
|
55
|
-
spec.add_development_dependency 'numo-linalg', '>= 0.1.4'
|
56
|
-
spec.add_development_dependency 'parallel', '>= 1.17.0'
|
57
|
-
spec.add_development_dependency 'rake', '~> 12.0'
|
58
|
-
spec.add_development_dependency 'rake-compiler', '~> 1.0'
|
59
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
48
|
+
spec.add_runtime_dependency 'mopti', '>= 0.1.0'
|
49
|
+
spec.add_runtime_dependency 'mmh3', '>= 0.1.0'
|
60
50
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: numo-narray
|
@@ -26,130 +26,32 @@ dependencies:
|
|
26
26
|
version: 0.9.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mopti
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.1'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.1'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: mmh3
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.1'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0.1'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: bundler
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '2.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '2.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: coveralls
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0.8'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0.8'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: numo-linalg
|
85
29
|
requirement: !ruby/object:Gem::Requirement
|
86
30
|
requirements:
|
87
31
|
- - ">="
|
88
32
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.1.
|
90
|
-
type: :
|
33
|
+
version: 0.1.0
|
34
|
+
type: :runtime
|
91
35
|
prerelease: false
|
92
36
|
version_requirements: !ruby/object:Gem::Requirement
|
93
37
|
requirements:
|
94
38
|
- - ">="
|
95
39
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.1.
|
40
|
+
version: 0.1.0
|
97
41
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
42
|
+
name: mmh3
|
99
43
|
requirement: !ruby/object:Gem::Requirement
|
100
44
|
requirements:
|
101
45
|
- - ">="
|
102
46
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
104
|
-
type: :
|
47
|
+
version: 0.1.0
|
48
|
+
type: :runtime
|
105
49
|
prerelease: false
|
106
50
|
version_requirements: !ruby/object:Gem::Requirement
|
107
51
|
requirements:
|
108
52
|
- - ">="
|
109
53
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rake
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '12.0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '12.0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rake-compiler
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '1.0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '1.0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rspec
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '3.0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '3.0'
|
54
|
+
version: 0.1.0
|
153
55
|
description: |
|
154
56
|
Rumale is a machine learning library in Ruby.
|
155
57
|
Rumale provides machine learning algorithms with interfaces similar to Scikit-Learn in Python.
|
@@ -330,7 +232,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
330
232
|
requirements:
|
331
233
|
- - ">="
|
332
234
|
- !ruby/object:Gem::Version
|
333
|
-
version: '
|
235
|
+
version: '0'
|
334
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
237
|
requirements:
|
336
238
|
- - ">="
|