see5-installer 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.rubocop.yml +11 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +10 -0
- data/README.md +29 -0
- data/Rakefile +12 -0
- data/ext/c5.0/Makefile +86 -0
- data/ext/c5.0/attwinnow.c +394 -0
- data/ext/c5.0/c50.c +330 -0
- data/ext/c5.0/classify.c +700 -0
- data/ext/c5.0/confmat.c +195 -0
- data/ext/c5.0/construct.c +853 -0
- data/ext/c5.0/contin.c +613 -0
- data/ext/c5.0/defns.i +788 -0
- data/ext/c5.0/discr.c +307 -0
- data/ext/c5.0/extern.i +170 -0
- data/ext/c5.0/formrules.c +720 -0
- data/ext/c5.0/formtree.c +1158 -0
- data/ext/c5.0/getdata.c +521 -0
- data/ext/c5.0/getnames.c +733 -0
- data/ext/c5.0/global.c +211 -0
- data/ext/c5.0/gpl.txt +674 -0
- data/ext/c5.0/implicitatt.c +1112 -0
- data/ext/c5.0/info.c +146 -0
- data/ext/c5.0/mcost.c +138 -0
- data/ext/c5.0/modelfiles.c +952 -0
- data/ext/c5.0/p-thresh.c +313 -0
- data/ext/c5.0/prune.c +1069 -0
- data/ext/c5.0/report.c +345 -0
- data/ext/c5.0/rules.c +579 -0
- data/ext/c5.0/ruletree.c +398 -0
- data/ext/c5.0/siftrules.c +1285 -0
- data/ext/c5.0/sort.c +156 -0
- data/ext/c5.0/subset.c +599 -0
- data/ext/c5.0/text.i +223 -0
- data/ext/c5.0/trees.c +740 -0
- data/ext/c5.0/update.c +129 -0
- data/ext/c5.0/utility.c +1146 -0
- data/ext/c5.0/xval +150 -0
- data/ext/c5.0/xval.c +402 -0
- data/ext/gritbot/Makefile +98 -0
- data/ext/gritbot/check.c +1110 -0
- data/ext/gritbot/cluster.c +342 -0
- data/ext/gritbot/common.c +1269 -0
- data/ext/gritbot/continatt.c +412 -0
- data/ext/gritbot/defns.i +623 -0
- data/ext/gritbot/discratt.c +459 -0
- data/ext/gritbot/extern.i +101 -0
- data/ext/gritbot/getdata.c +329 -0
- data/ext/gritbot/getnames.c +573 -0
- data/ext/gritbot/global.c +104 -0
- data/ext/gritbot/gpl.txt +674 -0
- data/ext/gritbot/gritbot.c +295 -0
- data/ext/gritbot/implicitatt.c +1108 -0
- data/ext/gritbot/inspect.c +794 -0
- data/ext/gritbot/modelfiles.c +687 -0
- data/ext/gritbot/outlier.c +415 -0
- data/ext/gritbot/sort.c +130 -0
- data/ext/gritbot/text.i +159 -0
- data/ext/gritbot/update.c +126 -0
- data/ext/gritbot/utility.c +1029 -0
- data/ext/see5-installer/extconf.rb +25 -0
- data/lib/see5/installer.rb +10 -0
- data/lib/see5/installer/version.rb +7 -0
- data/see5-installer.gemspec +30 -0
- metadata +115 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "mkmf"
|
4
|
+
|
5
|
+
open("Makefile", "w") do |makefile|
|
6
|
+
cc = RbConfig::CONFIG["CC"]
|
7
|
+
|
8
|
+
makefile.puts <<~MAKEFILE
|
9
|
+
make: c50 gritbot
|
10
|
+
c50:
|
11
|
+
cd ../c5.0 && cat defns.i global.c c50.c construct.c formtree.c info.c discr.c contin.c subset.c prune.c p-thresh.c trees.c siftrules.c ruletree.c rules.c getdata.c implicitatt.c mcost.c confmat.c sort.c update.c attwinnow.c classify.c formrules.c getnames.c modelfiles.c utility.c xval.c \
|
12
|
+
| grep -E -v "defns.i|extern.i" > c50gt.c
|
13
|
+
cd ../c5.0 && #{cc} -O3 -o c5.0 c50gt.c -lm
|
14
|
+
cd ../c5.0 && strip c5.0
|
15
|
+
gritbot:
|
16
|
+
cd ../gritbot && cat defns.i global.c cluster.c continatt.c outlier.c getdata.c gritbot.c sort.c discratt.c check.c common.c getnames.c implicitatt.c modelfiles.c update.c utility.c \
|
17
|
+
| grep -E -v "defns.i|extern.i" > gritbotgt.c
|
18
|
+
cd ../gritbot && #{cc} -O3 -o gritbot gritbotgt.c -lm
|
19
|
+
cd ../gritbot && strip gritbot
|
20
|
+
install:
|
21
|
+
# Just leave the executables where they. Other gems can find them there.
|
22
|
+
cleane:
|
23
|
+
# Any files will be cleaned up when the gem is uninstalled
|
24
|
+
MAKEFILE
|
25
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/see5/installer/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "see5-installer"
|
7
|
+
spec.version = See5::Installer::VERSION
|
8
|
+
spec.authors = ["Eddie Lebow"]
|
9
|
+
spec.email = ["elebow@users.noreply.github.com"]
|
10
|
+
|
11
|
+
spec.summary = "Installer for C5.0 and GritBot, tools for decision-tree learning and data cleansing."
|
12
|
+
spec.homepage = "https://github.com/elebow/ruby-see5-installer"
|
13
|
+
spec.licenses = ["MIT", "GPL-3.0"]
|
14
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
15
|
+
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
+
spec.metadata["source_code_uri"] = "https://github.com/elebow/ruby-see5-installer"
|
18
|
+
spec.metadata["changelog_uri"] = "https://github.com/elebow/ruby-see5-installer/blob/trunk/CHANGELOG.md"
|
19
|
+
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
24
|
+
end
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
spec.extensions = %w[ext/see5-installer/extconf.rb]
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: see5-installer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eddie Lebow
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email:
|
15
|
+
- elebow@users.noreply.github.com
|
16
|
+
executables: []
|
17
|
+
extensions:
|
18
|
+
- ext/see5-installer/extconf.rb
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- ".gitignore"
|
22
|
+
- ".rubocop.yml"
|
23
|
+
- CHANGELOG.md
|
24
|
+
- Gemfile
|
25
|
+
- README.md
|
26
|
+
- Rakefile
|
27
|
+
- ext/c5.0/Makefile
|
28
|
+
- ext/c5.0/attwinnow.c
|
29
|
+
- ext/c5.0/c50.c
|
30
|
+
- ext/c5.0/classify.c
|
31
|
+
- ext/c5.0/confmat.c
|
32
|
+
- ext/c5.0/construct.c
|
33
|
+
- ext/c5.0/contin.c
|
34
|
+
- ext/c5.0/defns.i
|
35
|
+
- ext/c5.0/discr.c
|
36
|
+
- ext/c5.0/extern.i
|
37
|
+
- ext/c5.0/formrules.c
|
38
|
+
- ext/c5.0/formtree.c
|
39
|
+
- ext/c5.0/getdata.c
|
40
|
+
- ext/c5.0/getnames.c
|
41
|
+
- ext/c5.0/global.c
|
42
|
+
- ext/c5.0/gpl.txt
|
43
|
+
- ext/c5.0/implicitatt.c
|
44
|
+
- ext/c5.0/info.c
|
45
|
+
- ext/c5.0/mcost.c
|
46
|
+
- ext/c5.0/modelfiles.c
|
47
|
+
- ext/c5.0/p-thresh.c
|
48
|
+
- ext/c5.0/prune.c
|
49
|
+
- ext/c5.0/report.c
|
50
|
+
- ext/c5.0/rules.c
|
51
|
+
- ext/c5.0/ruletree.c
|
52
|
+
- ext/c5.0/siftrules.c
|
53
|
+
- ext/c5.0/sort.c
|
54
|
+
- ext/c5.0/subset.c
|
55
|
+
- ext/c5.0/text.i
|
56
|
+
- ext/c5.0/trees.c
|
57
|
+
- ext/c5.0/update.c
|
58
|
+
- ext/c5.0/utility.c
|
59
|
+
- ext/c5.0/xval
|
60
|
+
- ext/c5.0/xval.c
|
61
|
+
- ext/gritbot/Makefile
|
62
|
+
- ext/gritbot/check.c
|
63
|
+
- ext/gritbot/cluster.c
|
64
|
+
- ext/gritbot/common.c
|
65
|
+
- ext/gritbot/continatt.c
|
66
|
+
- ext/gritbot/defns.i
|
67
|
+
- ext/gritbot/discratt.c
|
68
|
+
- ext/gritbot/extern.i
|
69
|
+
- ext/gritbot/getdata.c
|
70
|
+
- ext/gritbot/getnames.c
|
71
|
+
- ext/gritbot/global.c
|
72
|
+
- ext/gritbot/gpl.txt
|
73
|
+
- ext/gritbot/gritbot.c
|
74
|
+
- ext/gritbot/implicitatt.c
|
75
|
+
- ext/gritbot/inspect.c
|
76
|
+
- ext/gritbot/modelfiles.c
|
77
|
+
- ext/gritbot/outlier.c
|
78
|
+
- ext/gritbot/sort.c
|
79
|
+
- ext/gritbot/text.i
|
80
|
+
- ext/gritbot/update.c
|
81
|
+
- ext/gritbot/utility.c
|
82
|
+
- ext/see5-installer/extconf.rb
|
83
|
+
- lib/see5/installer.rb
|
84
|
+
- lib/see5/installer/version.rb
|
85
|
+
- see5-installer.gemspec
|
86
|
+
homepage: https://github.com/elebow/ruby-see5-installer
|
87
|
+
licenses:
|
88
|
+
- MIT
|
89
|
+
- GPL-3.0
|
90
|
+
metadata:
|
91
|
+
homepage_uri: https://github.com/elebow/ruby-see5-installer
|
92
|
+
source_code_uri: https://github.com/elebow/ruby-see5-installer
|
93
|
+
changelog_uri: https://github.com/elebow/ruby-see5-installer/blob/trunk/CHANGELOG.md
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 2.3.0
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.7.6.2
|
111
|
+
signing_key:
|
112
|
+
specification_version: 4
|
113
|
+
summary: Installer for C5.0 and GritBot, tools for decision-tree learning and data
|
114
|
+
cleansing.
|
115
|
+
test_files: []
|