svmkit 0.7.3 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -9
- data/.rspec +1 -0
- data/.travis.yml +4 -12
- data/LICENSE.txt +1 -1
- data/README.md +11 -13
- data/lib/svmkit.rb +3 -66
- data/svmkit.gemspec +12 -7
- metadata +16 -81
- data/.coveralls.yml +0 -1
- data/.rubocop.yml +0 -47
- data/.rubocop_todo.yml +0 -58
- data/HISTORY.md +0 -168
- data/lib/svmkit/base/base_estimator.rb +0 -13
- data/lib/svmkit/base/classifier.rb +0 -34
- data/lib/svmkit/base/cluster_analyzer.rb +0 -29
- data/lib/svmkit/base/evaluator.rb +0 -13
- data/lib/svmkit/base/regressor.rb +0 -34
- data/lib/svmkit/base/splitter.rb +0 -17
- data/lib/svmkit/base/transformer.rb +0 -18
- data/lib/svmkit/clustering/dbscan.rb +0 -127
- data/lib/svmkit/clustering/k_means.rb +0 -140
- data/lib/svmkit/dataset.rb +0 -109
- data/lib/svmkit/decomposition/nmf.rb +0 -147
- data/lib/svmkit/decomposition/pca.rb +0 -150
- data/lib/svmkit/ensemble/ada_boost_classifier.rb +0 -198
- data/lib/svmkit/ensemble/ada_boost_regressor.rb +0 -180
- data/lib/svmkit/ensemble/random_forest_classifier.rb +0 -182
- data/lib/svmkit/ensemble/random_forest_regressor.rb +0 -143
- data/lib/svmkit/evaluation_measure/accuracy.rb +0 -30
- data/lib/svmkit/evaluation_measure/f_score.rb +0 -51
- data/lib/svmkit/evaluation_measure/log_loss.rb +0 -46
- data/lib/svmkit/evaluation_measure/mean_absolute_error.rb +0 -30
- data/lib/svmkit/evaluation_measure/mean_squared_error.rb +0 -30
- data/lib/svmkit/evaluation_measure/normalized_mutual_information.rb +0 -63
- data/lib/svmkit/evaluation_measure/precision.rb +0 -51
- data/lib/svmkit/evaluation_measure/precision_recall.rb +0 -91
- data/lib/svmkit/evaluation_measure/purity.rb +0 -41
- data/lib/svmkit/evaluation_measure/r2_score.rb +0 -44
- data/lib/svmkit/evaluation_measure/recall.rb +0 -51
- data/lib/svmkit/kernel_approximation/rbf.rb +0 -136
- data/lib/svmkit/kernel_machine/kernel_svc.rb +0 -194
- data/lib/svmkit/linear_model/lasso.rb +0 -138
- data/lib/svmkit/linear_model/linear_regression.rb +0 -112
- data/lib/svmkit/linear_model/logistic_regression.rb +0 -161
- data/lib/svmkit/linear_model/ridge.rb +0 -112
- data/lib/svmkit/linear_model/sgd_linear_estimator.rb +0 -89
- data/lib/svmkit/linear_model/svc.rb +0 -184
- data/lib/svmkit/linear_model/svr.rb +0 -123
- data/lib/svmkit/model_selection/cross_validation.rb +0 -121
- data/lib/svmkit/model_selection/grid_search_cv.rb +0 -247
- data/lib/svmkit/model_selection/k_fold.rb +0 -77
- data/lib/svmkit/model_selection/stratified_k_fold.rb +0 -95
- data/lib/svmkit/multiclass/one_vs_rest_classifier.rb +0 -101
- data/lib/svmkit/naive_bayes/naive_bayes.rb +0 -316
- data/lib/svmkit/nearest_neighbors/k_neighbors_classifier.rb +0 -112
- data/lib/svmkit/nearest_neighbors/k_neighbors_regressor.rb +0 -94
- data/lib/svmkit/optimizer/nadam.rb +0 -90
- data/lib/svmkit/optimizer/rmsprop.rb +0 -69
- data/lib/svmkit/optimizer/sgd.rb +0 -65
- data/lib/svmkit/optimizer/yellow_fin.rb +0 -144
- data/lib/svmkit/pairwise_metric.rb +0 -91
- data/lib/svmkit/pipeline/pipeline.rb +0 -197
- data/lib/svmkit/polynomial_model/factorization_machine_classifier.rb +0 -262
- data/lib/svmkit/polynomial_model/factorization_machine_regressor.rb +0 -194
- data/lib/svmkit/preprocessing/l2_normalizer.rb +0 -63
- data/lib/svmkit/preprocessing/label_encoder.rb +0 -95
- data/lib/svmkit/preprocessing/min_max_scaler.rb +0 -93
- data/lib/svmkit/preprocessing/one_hot_encoder.rb +0 -99
- data/lib/svmkit/preprocessing/standard_scaler.rb +0 -87
- data/lib/svmkit/probabilistic_output.rb +0 -112
- data/lib/svmkit/tree/decision_tree_classifier.rb +0 -276
- data/lib/svmkit/tree/decision_tree_regressor.rb +0 -251
- data/lib/svmkit/tree/node.rb +0 -70
- data/lib/svmkit/utils.rb +0 -22
- data/lib/svmkit/validation.rb +0 -79
- data/lib/svmkit/values.rb +0 -13
- data/lib/svmkit/version.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4a571b6478fac75522c016fe434e2a51ccf8af7
|
4
|
+
data.tar.gz: 9a5f8e97a4a5fe25456dbb8512d4ae0e7bc97b51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82e68d520fbfde60cd0a5b73ffa982b151c98662a649cc0ebf7aef21dec69b3e4959eaca99cb3be0ccabb3fc20fdbae2e61a0d05145d6b4f9b5204da80aefe37
|
7
|
+
data.tar.gz: 2698e16910eba922b6972f4f7add987c0049aaddcbad0bf84e228e1c0143602dc2e7c8729845a327e421c7b899267c9b4437b1864cecd0b080e09ed62621baf1
|
data/.gitignore
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
/.bundle/
|
2
2
|
/.yardoc
|
3
|
-
/Gemfile.lock
|
4
3
|
/_yardoc/
|
5
4
|
/coverage/
|
6
5
|
/doc/
|
@@ -10,11 +9,3 @@
|
|
10
9
|
|
11
10
|
# rspec failure tracking
|
12
11
|
.rspec_status
|
13
|
-
|
14
|
-
*.swp
|
15
|
-
.DS_Store
|
16
|
-
.ruby-version
|
17
|
-
/spec/dump_dbl.t
|
18
|
-
/spec/dump_int.t
|
19
|
-
/spec/dump_mult_dbl.t
|
20
|
-
/spec/dump_zb.t
|
data/.rspec
CHANGED
data/.travis.yml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
|
+
---
|
1
2
|
sudo: false
|
2
|
-
os: linux
|
3
|
-
dist: trusty
|
4
3
|
language: ruby
|
4
|
+
cache: bundler
|
5
5
|
rvm:
|
6
|
-
- 2.
|
7
|
-
|
8
|
-
- 2.3
|
9
|
-
- 2.4
|
10
|
-
- 2.5
|
11
|
-
- 2.6
|
12
|
-
before_install:
|
13
|
-
- travis_retry gem update --system || travis_retry gem update --system 2.7.8
|
14
|
-
- travis_retry gem install bundler --no-document || travis_retry gem install bundler --no-document -v 1.17.3
|
15
|
-
|
6
|
+
- 2.3.8
|
7
|
+
before_install: gem install bundler -v 2.0.1
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,17 +1,22 @@
|
|
1
1
|
# SVMKit
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/yoshoku/
|
4
|
-
[![Coverage Status](https://coveralls.io/repos/github/yoshoku/
|
3
|
+
[![Build Status](https://travis-ci.org/yoshoku/svmkit.svg?branch=master)](https://travis-ci.org/yoshoku/svmkit)
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/github/yoshoku/svmkit/badge.svg?branch=master)](https://coveralls.io/github/yoshoku/svmkit?branch=master)
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/svmkit.svg)](https://badge.fury.io/rb/svmkit)
|
6
|
-
[![BSD 2-Clause License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://github.com/yoshoku/
|
6
|
+
[![BSD 2-Clause License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://github.com/yoshoku/svmkit/blob/master/LICENSE.txt)
|
7
|
+
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://www.rubydoc.info/gems/svmkit/)
|
8
|
+
|
9
|
+
SVMKit has been deprecated and has been renamed to [Rumale](https://github.com/yoshoku/rumale).
|
10
|
+
Initially, I started developing SVMKit as an experimental library aiming at implementing SVM in Ruby.
|
11
|
+
However, since I added many other machine learning algorithms to SVMKit, I decided to change the library name.
|
12
|
+
SVMKit will continue releasing for bugfix but will not add new features.
|
7
13
|
|
8
14
|
SVMKit is a machine learninig library in Ruby.
|
9
15
|
SVMKit provides machine learning algorithms with interfaces similar to Scikit-Learn in Python.
|
10
|
-
SVMKit
|
16
|
+
SVMKit supports Linear / Kernel Support Vector Machine,
|
11
17
|
Logistic Regression, Linear Regression, Ridge, Lasso, Factorization Machine,
|
12
18
|
Naive Bayes, Decision Tree, AdaBoost, Random Forest, K-nearest neighbor classifier,
|
13
|
-
K-Means, DBSCAN, Principal Component Analysis, Non-negative Matrix Factorization
|
14
|
-
and cross-validation.
|
19
|
+
K-Means, DBSCAN, Principal Component Analysis, and Non-negative Matrix Factorization.
|
15
20
|
|
16
21
|
## Installation
|
17
22
|
|
@@ -49,10 +54,6 @@ require 'svmkit'
|
|
49
54
|
# Load the training dataset.
|
50
55
|
samples, labels = SVMKit::Dataset.load_libsvm_file('pendigits')
|
51
56
|
|
52
|
-
# If the features consists only of integers, load_libsvm_file method reads in Numo::Int32 format.
|
53
|
-
# As necessary, you should convert sample array to Numo::DFloat format.
|
54
|
-
samples = Numo::DFloat.cast(samples)
|
55
|
-
|
56
57
|
# Map training data to RBF kernel feature space.
|
57
58
|
transformer = SVMKit::KernelApproximation::RBF.new(gamma: 0.0001, n_components: 1024, random_seed: 1)
|
58
59
|
transformed = transformer.fit_transform(samples)
|
@@ -73,7 +74,6 @@ require 'svmkit'
|
|
73
74
|
|
74
75
|
# Load the testing dataset.
|
75
76
|
samples, labels = SVMKit::Dataset.load_libsvm_file('pendigits.t')
|
76
|
-
samples = Numo::DFloat.cast(samples)
|
77
77
|
|
78
78
|
# Load the model.
|
79
79
|
transformer = Marshal.load(File.binread('transformer.dat'))
|
@@ -106,7 +106,6 @@ require 'svmkit'
|
|
106
106
|
|
107
107
|
# Load dataset.
|
108
108
|
samples, labels = SVMKit::Dataset.load_libsvm_file('pendigits')
|
109
|
-
samples = Numo::DFloat.cast(samples)
|
110
109
|
|
111
110
|
# Define the estimator to be evaluated.
|
112
111
|
lr = SVMKit::LinearModel::LogisticRegression.new(reg_param: 0.0001, random_seed: 1)
|
@@ -131,7 +130,6 @@ require 'svmkit'
|
|
131
130
|
|
132
131
|
# Load dataset.
|
133
132
|
samples, labels = SVMKit::Dataset.load_libsvm_file('pendigits')
|
134
|
-
samples = Numo::DFloat.cast(samples)
|
135
133
|
|
136
134
|
# Construct pipeline with kernel approximation and SVC.
|
137
135
|
rbf = SVMKit::KernelApproximation::RBF.new(gamma: 0.0001, n_components: 800, random_seed: 1)
|
data/lib/svmkit.rb
CHANGED
@@ -1,68 +1,5 @@
|
|
1
|
-
|
1
|
+
warn 'SVMKit has been deprecated; You should migrate to Rumale.'
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'rumale'
|
4
4
|
|
5
|
-
|
6
|
-
require 'svmkit/validation'
|
7
|
-
require 'svmkit/values'
|
8
|
-
require 'svmkit/utils'
|
9
|
-
require 'svmkit/pairwise_metric'
|
10
|
-
require 'svmkit/dataset'
|
11
|
-
require 'svmkit/probabilistic_output'
|
12
|
-
require 'svmkit/base/base_estimator'
|
13
|
-
require 'svmkit/base/classifier'
|
14
|
-
require 'svmkit/base/regressor'
|
15
|
-
require 'svmkit/base/cluster_analyzer'
|
16
|
-
require 'svmkit/base/transformer'
|
17
|
-
require 'svmkit/base/splitter'
|
18
|
-
require 'svmkit/base/evaluator'
|
19
|
-
require 'svmkit/optimizer/sgd'
|
20
|
-
require 'svmkit/optimizer/rmsprop'
|
21
|
-
require 'svmkit/optimizer/nadam'
|
22
|
-
require 'svmkit/optimizer/yellow_fin'
|
23
|
-
require 'svmkit/pipeline/pipeline'
|
24
|
-
require 'svmkit/kernel_approximation/rbf'
|
25
|
-
require 'svmkit/linear_model/sgd_linear_estimator'
|
26
|
-
require 'svmkit/linear_model/svc'
|
27
|
-
require 'svmkit/linear_model/svr'
|
28
|
-
require 'svmkit/linear_model/logistic_regression'
|
29
|
-
require 'svmkit/linear_model/linear_regression'
|
30
|
-
require 'svmkit/linear_model/ridge'
|
31
|
-
require 'svmkit/linear_model/lasso'
|
32
|
-
require 'svmkit/kernel_machine/kernel_svc'
|
33
|
-
require 'svmkit/polynomial_model/factorization_machine_classifier'
|
34
|
-
require 'svmkit/polynomial_model/factorization_machine_regressor'
|
35
|
-
require 'svmkit/multiclass/one_vs_rest_classifier'
|
36
|
-
require 'svmkit/nearest_neighbors/k_neighbors_classifier'
|
37
|
-
require 'svmkit/nearest_neighbors/k_neighbors_regressor'
|
38
|
-
require 'svmkit/naive_bayes/naive_bayes'
|
39
|
-
require 'svmkit/tree/node'
|
40
|
-
require 'svmkit/tree/decision_tree_classifier'
|
41
|
-
require 'svmkit/tree/decision_tree_regressor'
|
42
|
-
require 'svmkit/ensemble/ada_boost_classifier'
|
43
|
-
require 'svmkit/ensemble/ada_boost_regressor'
|
44
|
-
require 'svmkit/ensemble/random_forest_classifier'
|
45
|
-
require 'svmkit/ensemble/random_forest_regressor'
|
46
|
-
require 'svmkit/clustering/k_means'
|
47
|
-
require 'svmkit/clustering/dbscan'
|
48
|
-
require 'svmkit/decomposition/pca'
|
49
|
-
require 'svmkit/decomposition/nmf'
|
50
|
-
require 'svmkit/preprocessing/l2_normalizer'
|
51
|
-
require 'svmkit/preprocessing/min_max_scaler'
|
52
|
-
require 'svmkit/preprocessing/standard_scaler'
|
53
|
-
require 'svmkit/preprocessing/label_encoder'
|
54
|
-
require 'svmkit/preprocessing/one_hot_encoder'
|
55
|
-
require 'svmkit/model_selection/k_fold'
|
56
|
-
require 'svmkit/model_selection/stratified_k_fold'
|
57
|
-
require 'svmkit/model_selection/cross_validation'
|
58
|
-
require 'svmkit/model_selection/grid_search_cv'
|
59
|
-
require 'svmkit/evaluation_measure/accuracy'
|
60
|
-
require 'svmkit/evaluation_measure/precision'
|
61
|
-
require 'svmkit/evaluation_measure/recall'
|
62
|
-
require 'svmkit/evaluation_measure/f_score'
|
63
|
-
require 'svmkit/evaluation_measure/log_loss'
|
64
|
-
require 'svmkit/evaluation_measure/r2_score'
|
65
|
-
require 'svmkit/evaluation_measure/mean_squared_error'
|
66
|
-
require 'svmkit/evaluation_measure/mean_absolute_error'
|
67
|
-
require 'svmkit/evaluation_measure/purity'
|
68
|
-
require 'svmkit/evaluation_measure/normalized_mutual_information'
|
5
|
+
SVMKit = Rumale
|
data/svmkit.gemspec
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
lib = File.expand_path('lib', __dir__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'svmkit/version'
|
4
3
|
|
5
4
|
Gem::Specification.new do |spec|
|
6
5
|
spec.name = 'svmkit'
|
7
|
-
spec.version =
|
6
|
+
spec.version = '0.8.1'
|
8
7
|
spec.authors = ['yoshoku']
|
9
8
|
spec.email = ['yoshoku@outlook.com']
|
10
9
|
|
@@ -15,11 +14,17 @@ MSG
|
|
15
14
|
spec.description = <<MSG
|
16
15
|
SVMKit is a machine learninig library in Ruby.
|
17
16
|
SVMKit provides machine learning algorithms with interfaces similar to Scikit-Learn in Python.
|
18
|
-
SVMKit
|
17
|
+
SVMKit supports Linear / Kernel Support Vector Machine,
|
19
18
|
Logistic Regression, Linear Regression, Ridge, Lasso, Factorization Machine,
|
20
19
|
Naive Bayes, Decision Tree, AdaBoost, Random Forest, K-nearest neighbor algorithm,
|
21
|
-
K-Means, DBSCAN, Principal Component Analysis, Non-negative Matrix Factorization
|
22
|
-
and
|
20
|
+
K-Means, DBSCAN, Principal Component Analysis, and Non-negative Matrix Factorization.
|
21
|
+
Note that the SVMKit has been deprecated and has been renamed to Rumale.
|
22
|
+
MSG
|
23
|
+
spec.post_install_message = <<MSG
|
24
|
+
-------------------------------------------------------------------------
|
25
|
+
Note that the SVMKit has been deprecated and has been renamed to Rumale.
|
26
|
+
Please see https://rubygems.org/gems/rumale
|
27
|
+
-------------------------------------------------------------------------
|
23
28
|
MSG
|
24
29
|
spec.homepage = 'https://github.com/yoshoku/svmkit'
|
25
30
|
spec.license = 'BSD-2-Clause'
|
@@ -31,9 +36,9 @@ MSG
|
|
31
36
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
37
|
spec.require_paths = ['lib']
|
33
38
|
|
34
|
-
spec.required_ruby_version = '>= 2.
|
39
|
+
spec.required_ruby_version = '>= 2.3'
|
35
40
|
|
36
|
-
spec.add_runtime_dependency '
|
41
|
+
spec.add_runtime_dependency 'rumale', '~> 0.8'
|
37
42
|
|
38
43
|
spec.add_development_dependency 'bundler', '>= 1.16'
|
39
44
|
spec.add_development_dependency 'coveralls', '~> 0.8'
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svmkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rumale
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: '0.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: '0.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,103 +83,38 @@ dependencies:
|
|
83
83
|
description: |
|
84
84
|
SVMKit is a machine learninig library in Ruby.
|
85
85
|
SVMKit provides machine learning algorithms with interfaces similar to Scikit-Learn in Python.
|
86
|
-
SVMKit
|
86
|
+
SVMKit supports Linear / Kernel Support Vector Machine,
|
87
87
|
Logistic Regression, Linear Regression, Ridge, Lasso, Factorization Machine,
|
88
88
|
Naive Bayes, Decision Tree, AdaBoost, Random Forest, K-nearest neighbor algorithm,
|
89
|
-
K-Means, DBSCAN, Principal Component Analysis, Non-negative Matrix Factorization
|
90
|
-
and
|
89
|
+
K-Means, DBSCAN, Principal Component Analysis, and Non-negative Matrix Factorization.
|
90
|
+
Note that the SVMKit has been deprecated and has been renamed to Rumale.
|
91
91
|
email:
|
92
92
|
- yoshoku@outlook.com
|
93
93
|
executables: []
|
94
94
|
extensions: []
|
95
95
|
extra_rdoc_files: []
|
96
96
|
files:
|
97
|
-
- ".coveralls.yml"
|
98
97
|
- ".gitignore"
|
99
98
|
- ".rspec"
|
100
|
-
- ".rubocop.yml"
|
101
|
-
- ".rubocop_todo.yml"
|
102
99
|
- ".travis.yml"
|
103
100
|
- CODE_OF_CONDUCT.md
|
104
101
|
- Gemfile
|
105
|
-
- HISTORY.md
|
106
102
|
- LICENSE.txt
|
107
103
|
- README.md
|
108
104
|
- Rakefile
|
109
105
|
- bin/console
|
110
106
|
- bin/setup
|
111
107
|
- lib/svmkit.rb
|
112
|
-
- lib/svmkit/base/base_estimator.rb
|
113
|
-
- lib/svmkit/base/classifier.rb
|
114
|
-
- lib/svmkit/base/cluster_analyzer.rb
|
115
|
-
- lib/svmkit/base/evaluator.rb
|
116
|
-
- lib/svmkit/base/regressor.rb
|
117
|
-
- lib/svmkit/base/splitter.rb
|
118
|
-
- lib/svmkit/base/transformer.rb
|
119
|
-
- lib/svmkit/clustering/dbscan.rb
|
120
|
-
- lib/svmkit/clustering/k_means.rb
|
121
|
-
- lib/svmkit/dataset.rb
|
122
|
-
- lib/svmkit/decomposition/nmf.rb
|
123
|
-
- lib/svmkit/decomposition/pca.rb
|
124
|
-
- lib/svmkit/ensemble/ada_boost_classifier.rb
|
125
|
-
- lib/svmkit/ensemble/ada_boost_regressor.rb
|
126
|
-
- lib/svmkit/ensemble/random_forest_classifier.rb
|
127
|
-
- lib/svmkit/ensemble/random_forest_regressor.rb
|
128
|
-
- lib/svmkit/evaluation_measure/accuracy.rb
|
129
|
-
- lib/svmkit/evaluation_measure/f_score.rb
|
130
|
-
- lib/svmkit/evaluation_measure/log_loss.rb
|
131
|
-
- lib/svmkit/evaluation_measure/mean_absolute_error.rb
|
132
|
-
- lib/svmkit/evaluation_measure/mean_squared_error.rb
|
133
|
-
- lib/svmkit/evaluation_measure/normalized_mutual_information.rb
|
134
|
-
- lib/svmkit/evaluation_measure/precision.rb
|
135
|
-
- lib/svmkit/evaluation_measure/precision_recall.rb
|
136
|
-
- lib/svmkit/evaluation_measure/purity.rb
|
137
|
-
- lib/svmkit/evaluation_measure/r2_score.rb
|
138
|
-
- lib/svmkit/evaluation_measure/recall.rb
|
139
|
-
- lib/svmkit/kernel_approximation/rbf.rb
|
140
|
-
- lib/svmkit/kernel_machine/kernel_svc.rb
|
141
|
-
- lib/svmkit/linear_model/lasso.rb
|
142
|
-
- lib/svmkit/linear_model/linear_regression.rb
|
143
|
-
- lib/svmkit/linear_model/logistic_regression.rb
|
144
|
-
- lib/svmkit/linear_model/ridge.rb
|
145
|
-
- lib/svmkit/linear_model/sgd_linear_estimator.rb
|
146
|
-
- lib/svmkit/linear_model/svc.rb
|
147
|
-
- lib/svmkit/linear_model/svr.rb
|
148
|
-
- lib/svmkit/model_selection/cross_validation.rb
|
149
|
-
- lib/svmkit/model_selection/grid_search_cv.rb
|
150
|
-
- lib/svmkit/model_selection/k_fold.rb
|
151
|
-
- lib/svmkit/model_selection/stratified_k_fold.rb
|
152
|
-
- lib/svmkit/multiclass/one_vs_rest_classifier.rb
|
153
|
-
- lib/svmkit/naive_bayes/naive_bayes.rb
|
154
|
-
- lib/svmkit/nearest_neighbors/k_neighbors_classifier.rb
|
155
|
-
- lib/svmkit/nearest_neighbors/k_neighbors_regressor.rb
|
156
|
-
- lib/svmkit/optimizer/nadam.rb
|
157
|
-
- lib/svmkit/optimizer/rmsprop.rb
|
158
|
-
- lib/svmkit/optimizer/sgd.rb
|
159
|
-
- lib/svmkit/optimizer/yellow_fin.rb
|
160
|
-
- lib/svmkit/pairwise_metric.rb
|
161
|
-
- lib/svmkit/pipeline/pipeline.rb
|
162
|
-
- lib/svmkit/polynomial_model/factorization_machine_classifier.rb
|
163
|
-
- lib/svmkit/polynomial_model/factorization_machine_regressor.rb
|
164
|
-
- lib/svmkit/preprocessing/l2_normalizer.rb
|
165
|
-
- lib/svmkit/preprocessing/label_encoder.rb
|
166
|
-
- lib/svmkit/preprocessing/min_max_scaler.rb
|
167
|
-
- lib/svmkit/preprocessing/one_hot_encoder.rb
|
168
|
-
- lib/svmkit/preprocessing/standard_scaler.rb
|
169
|
-
- lib/svmkit/probabilistic_output.rb
|
170
|
-
- lib/svmkit/tree/decision_tree_classifier.rb
|
171
|
-
- lib/svmkit/tree/decision_tree_regressor.rb
|
172
|
-
- lib/svmkit/tree/node.rb
|
173
|
-
- lib/svmkit/utils.rb
|
174
|
-
- lib/svmkit/validation.rb
|
175
|
-
- lib/svmkit/values.rb
|
176
|
-
- lib/svmkit/version.rb
|
177
108
|
- svmkit.gemspec
|
178
109
|
homepage: https://github.com/yoshoku/svmkit
|
179
110
|
licenses:
|
180
111
|
- BSD-2-Clause
|
181
112
|
metadata: {}
|
182
|
-
post_install_message:
|
113
|
+
post_install_message: |
|
114
|
+
-------------------------------------------------------------------------
|
115
|
+
Note that the SVMKit has been deprecated and has been renamed to Rumale.
|
116
|
+
Please see https://rubygems.org/gems/rumale
|
117
|
+
-------------------------------------------------------------------------
|
183
118
|
rdoc_options: []
|
184
119
|
require_paths:
|
185
120
|
- lib
|
@@ -187,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
187
122
|
requirements:
|
188
123
|
- - ">="
|
189
124
|
- !ruby/object:Gem::Version
|
190
|
-
version: '2.
|
125
|
+
version: '2.3'
|
191
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
127
|
requirements:
|
193
128
|
- - ">="
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|
data/.rubocop.yml
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
2
|
-
|
3
|
-
AllCops:
|
4
|
-
TargetRubyVersion: 2.2
|
5
|
-
DisplayCopNames: true
|
6
|
-
DisplayStyleGuide: true
|
7
|
-
|
8
|
-
Documentation:
|
9
|
-
Enabled: false
|
10
|
-
|
11
|
-
Metrics/LineLength:
|
12
|
-
Max: 145
|
13
|
-
IgnoredPatterns: ['(\A|\s)#']
|
14
|
-
|
15
|
-
Metrics/ModuleLength:
|
16
|
-
Max: 200
|
17
|
-
|
18
|
-
Metrics/ClassLength:
|
19
|
-
Max: 200
|
20
|
-
|
21
|
-
Metrics/MethodLength:
|
22
|
-
Max: 40
|
23
|
-
|
24
|
-
Metrics/AbcSize:
|
25
|
-
Max: 60
|
26
|
-
|
27
|
-
Metrics/BlockLength:
|
28
|
-
Exclude:
|
29
|
-
- 'spec/**/*'
|
30
|
-
|
31
|
-
ParameterLists:
|
32
|
-
Max: 10
|
33
|
-
|
34
|
-
Security/MarshalLoad:
|
35
|
-
Enabled: false
|
36
|
-
|
37
|
-
Naming/UncommunicativeMethodParamName:
|
38
|
-
Enabled: false
|
39
|
-
|
40
|
-
Style/FormatStringToken:
|
41
|
-
Enabled: false
|
42
|
-
|
43
|
-
Style/NumericLiterals:
|
44
|
-
Enabled: false
|
45
|
-
|
46
|
-
Layout/EmptyLineAfterGuardClause:
|
47
|
-
Enabled: false
|