nimbus 1.0.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,105 +1,113 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: nimbus
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
4
5
  prerelease:
5
- version: 1.0.1
6
6
  platform: ruby
7
- authors:
8
- - "Juanjo Baz\xC3\xA1n"
9
- - "Oscar Gonz\xC3\xA1lez Recio"
7
+ authors:
8
+ - Juanjo Bazán
9
+ - Oscar González Recio
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
-
14
- date: 2011-08-25 00:00:00 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
13
+ date: 2012-07-26 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: rspec
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2156549180 !ruby/object:Gem::Requirement
20
18
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: 2.5.0
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 2.11.0
25
23
  type: :development
26
- version_requirements: *id001
27
- description: Nimbus is a Ruby gem to implement Random Forest in a genomic selection context.
28
- email:
24
+ prerelease: false
25
+ version_requirements: *2156549180
26
+ description: Nimbus is a Ruby gem to implement Random Forest in a genomic selection
27
+ context.
28
+ email:
29
29
  - jjbazan@gmail.com
30
- executables:
30
+ executables:
31
31
  - nimbus
32
32
  extensions: []
33
-
34
33
  extra_rdoc_files: []
35
-
36
- files:
34
+ files:
37
35
  - MIT-LICENSE.txt
36
+ - README.md
38
37
  - lib/nimbus/application.rb
38
+ - lib/nimbus/classification_tree.rb
39
39
  - lib/nimbus/configuration.rb
40
40
  - lib/nimbus/exceptions.rb
41
41
  - lib/nimbus/forest.rb
42
42
  - lib/nimbus/individual.rb
43
43
  - lib/nimbus/loss_functions.rb
44
+ - lib/nimbus/regression_tree.rb
44
45
  - lib/nimbus/training_set.rb
45
46
  - lib/nimbus/tree.rb
47
+ - lib/nimbus/version.rb
46
48
  - lib/nimbus.rb
49
+ - spec/classification_tree_spec.rb
47
50
  - spec/configuration_spec.rb
51
+ - spec/fixtures/classification_config.yml
52
+ - spec/fixtures/classification_random_forest.yml
53
+ - spec/fixtures/classification_testing.data
54
+ - spec/fixtures/classification_training.data
48
55
  - spec/fixtures/regression_config.yml
49
56
  - spec/fixtures/regression_random_forest.yml
50
- - spec/fixtures/regression_snp_importances.txt
51
57
  - spec/fixtures/regression_testing.data
52
- - spec/fixtures/regression_testing_file_predictions.txt
53
58
  - spec/fixtures/regression_training.data
54
- - spec/fixtures/regression_training_file_predictions.txt
55
59
  - spec/forest_spec.rb
56
60
  - spec/individual_spec.rb
61
+ - spec/loss_functions_spec.rb
57
62
  - spec/nimbus_spec.rb
63
+ - spec/regression_tree_spec.rb
58
64
  - spec/spec_helper.rb
59
65
  - spec/training_set_spec.rb
60
66
  - spec/tree_spec.rb
61
67
  - bin/nimbus
62
68
  homepage: http://nimbusgem.org
63
69
  licenses: []
64
-
65
70
  post_install_message:
66
- rdoc_options:
71
+ rdoc_options:
67
72
  - --main
68
73
  - README.rdoc
69
74
  - --charset=UTF-8
70
- require_paths:
75
+ require_paths:
71
76
  - lib
72
- required_ruby_version: !ruby/object:Gem::Requirement
77
+ required_ruby_version: !ruby/object:Gem::Requirement
73
78
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- version: "0"
78
- required_rubygems_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
79
84
  none: false
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- version: "0"
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
84
89
  requirements: []
85
-
86
90
  rubyforge_project:
87
- rubygems_version: 1.8.6
91
+ rubygems_version: 1.8.15
88
92
  signing_key:
89
93
  specification_version: 3
90
94
  summary: Random Forest algorithm for Genomics
91
- test_files:
95
+ test_files:
96
+ - spec/classification_tree_spec.rb
92
97
  - spec/configuration_spec.rb
98
+ - spec/fixtures/classification_config.yml
99
+ - spec/fixtures/classification_random_forest.yml
100
+ - spec/fixtures/classification_testing.data
101
+ - spec/fixtures/classification_training.data
93
102
  - spec/fixtures/regression_config.yml
94
103
  - spec/fixtures/regression_random_forest.yml
95
- - spec/fixtures/regression_snp_importances.txt
96
104
  - spec/fixtures/regression_testing.data
97
- - spec/fixtures/regression_testing_file_predictions.txt
98
105
  - spec/fixtures/regression_training.data
99
- - spec/fixtures/regression_training_file_predictions.txt
100
106
  - spec/forest_spec.rb
101
107
  - spec/individual_spec.rb
108
+ - spec/loss_functions_spec.rb
102
109
  - spec/nimbus_spec.rb
110
+ - spec/regression_tree_spec.rb
103
111
  - spec/spec_helper.rb
104
112
  - spec/training_set_spec.rb
105
113
  - spec/tree_spec.rb
@@ -1,200 +0,0 @@
1
- SNP #1: 0.00292
2
- SNP #2: -0.00543
3
- SNP #3: -0.00652
4
- SNP #4: -0.00496
5
- SNP #5: 0.01701
6
- SNP #6: -0.00612
7
- SNP #7: 0.0
8
- SNP #8: 0.00699
9
- SNP #9: 0.00292
10
- SNP #10: 0.0
11
- SNP #11: -0.00878
12
- SNP #12: -0.03331
13
- SNP #13: 0.0
14
- SNP #14: 0.00886
15
- SNP #15: -0.01654
16
- SNP #16: 0.0
17
- SNP #17: 0.0001
18
- SNP #18: 0.0
19
- SNP #19: 0.0
20
- SNP #20: -0.01239
21
- SNP #21: -0.00042
22
- SNP #22: 0.00129
23
- SNP #23: 0.0002
24
- SNP #24: -0.02991
25
- SNP #25: 0.00994
26
- SNP #26: 0.00342
27
- SNP #27: -0.00041
28
- SNP #28: -0.00427
29
- SNP #29: -0.00271
30
- SNP #30: 0.00051
31
- SNP #31: -0.00103
32
- SNP #32: 0.00883
33
- SNP #33: -0.00383
34
- SNP #34: 0.0036
35
- SNP #35: 0.00019
36
- SNP #36: 0.0
37
- SNP #37: 0.0
38
- SNP #38: -0.01727
39
- SNP #39: 0.02099
40
- SNP #40: -0.00058
41
- SNP #41: 0.0
42
- SNP #42: -0.00344
43
- SNP #43: 0.01907
44
- SNP #44: 0.00207
45
- SNP #45: 0.00658
46
- SNP #46: 0.03835
47
- SNP #47: -0.00379
48
- SNP #48: 0.0
49
- SNP #49: -0.00388
50
- SNP #50: 0.00625
51
- SNP #51: -0.00515
52
- SNP #52: -0.02332
53
- SNP #53: -0.00038
54
- SNP #54: 0.0
55
- SNP #55: 0.05121
56
- SNP #56: -0.02607
57
- SNP #57: -0.01277
58
- SNP #58: -1.0e-05
59
- SNP #59: -0.00514
60
- SNP #60: -0.00847
61
- SNP #61: 0.0
62
- SNP #62: 0.00654
63
- SNP #63: -0.01749
64
- SNP #64: 0.0
65
- SNP #65: 0.0001
66
- SNP #66: -0.0054
67
- SNP #67: -0.00301
68
- SNP #68: 0.00106
69
- SNP #69: -0.00979
70
- SNP #70: 0.00075
71
- SNP #71: -0.0083
72
- SNP #72: 0.00114
73
- SNP #73: -0.01977
74
- SNP #74: 0.0
75
- SNP #75: -0.00932
76
- SNP #76: 0.0
77
- SNP #77: 0.00827
78
- SNP #78: 0.00494
79
- SNP #79: 0.01449
80
- SNP #80: -0.00084
81
- SNP #81: 0.0
82
- SNP #82: 0.0
83
- SNP #83: 0.00359
84
- SNP #84: -0.02361
85
- SNP #85: 0.0
86
- SNP #86: 0.0
87
- SNP #87: -0.01155
88
- SNP #88: -0.00115
89
- SNP #89: 0.0
90
- SNP #90: -0.00059
91
- SNP #91: 0.0
92
- SNP #92: 0.0
93
- SNP #93: 0.00999
94
- SNP #94: -0.00251
95
- SNP #95: 0.00581
96
- SNP #96: 0.0
97
- SNP #97: -0.0087
98
- SNP #98: 0.00595
99
- SNP #99: 0.00086
100
- SNP #100: -0.0014
101
- SNP #101: -0.01199
102
- SNP #102: -0.00663
103
- SNP #103: -0.00361
104
- SNP #104: -0.00651
105
- SNP #105: -0.01073
106
- SNP #106: 0.0
107
- SNP #107: -0.01823
108
- SNP #108: 0.00878
109
- SNP #109: 0.0
110
- SNP #110: -0.0008
111
- SNP #111: 0.05864
112
- SNP #112: 0.0
113
- SNP #113: -0.00135
114
- SNP #114: -0.00548
115
- SNP #115: -0.00438
116
- SNP #116: 0.00323
117
- SNP #117: 0.00517
118
- SNP #118: -0.00719
119
- SNP #119: 0.0
120
- SNP #120: -0.00221
121
- SNP #121: -0.02245
122
- SNP #122: 0.0
123
- SNP #123: -0.00917
124
- SNP #124: 0.00502
125
- SNP #125: -0.0297
126
- SNP #126: -0.00042
127
- SNP #127: 0.00512
128
- SNP #128: -0.00359
129
- SNP #129: 0.0
130
- SNP #130: -0.00454
131
- SNP #131: 0.0
132
- SNP #132: 0.0
133
- SNP #133: -0.01268
134
- SNP #134: 0.0
135
- SNP #135: 0.0
136
- SNP #136: -0.01598
137
- SNP #137: 0.0
138
- SNP #138: -0.0068
139
- SNP #139: 0.0016
140
- SNP #140: -0.0003
141
- SNP #141: 0.00231
142
- SNP #142: 0.007
143
- SNP #143: -0.00387
144
- SNP #144: 0.00273
145
- SNP #145: -0.00814
146
- SNP #146: -0.00809
147
- SNP #147: -0.02151
148
- SNP #148: 0.00362
149
- SNP #149: 0.036
150
- SNP #150: -0.00466
151
- SNP #151: 0.01619
152
- SNP #152: 0.0
153
- SNP #153: 0.0
154
- SNP #154: -0.00089
155
- SNP #155: -0.00742
156
- SNP #156: 0.0
157
- SNP #157: 0.00399
158
- SNP #158: 0.00129
159
- SNP #159: 0.0
160
- SNP #160: 0.00429
161
- SNP #161: 0.0
162
- SNP #162: 0.00255
163
- SNP #163: -0.00458
164
- SNP #164: -0.00343
165
- SNP #165: 0.00722
166
- SNP #166: 0.00783
167
- SNP #167: 0.00017
168
- SNP #168: 0.00459
169
- SNP #169: 0.0
170
- SNP #170: 0.00476
171
- SNP #171: 0.0
172
- SNP #172: 0.0
173
- SNP #173: -0.01529
174
- SNP #174: 0.0
175
- SNP #175: 0.00402
176
- SNP #176: 0.00085
177
- SNP #177: 0.01485
178
- SNP #178: -0.00773
179
- SNP #179: 0.00665
180
- SNP #180: -0.00386
181
- SNP #181: 0.00373
182
- SNP #182: 0.0
183
- SNP #183: 0.0
184
- SNP #184: 0.0
185
- SNP #185: -0.00269
186
- SNP #186: 0.0
187
- SNP #187: 0.00048
188
- SNP #188: 0.00329
189
- SNP #189: 0.17682
190
- SNP #190: 0.00515
191
- SNP #191: 0.00132
192
- SNP #192: 0.0
193
- SNP #193: 0.00089
194
- SNP #194: -0.00168
195
- SNP #195: 0.08703
196
- SNP #196: 0.00309
197
- SNP #197: -0.00838
198
- SNP #198: 0.0
199
- SNP #199: 0.00221
200
- SNP #200: 0.00594
@@ -1,200 +0,0 @@
1
- 801 1.09143
2
- 802 -0.94634
3
- 803 0.04393
4
- 804 -1.15647
5
- 805 0.09258
6
- 806 0.04857
7
- 807 0.92038
8
- 808 -0.9308
9
- 809 0.38098
10
- 810 0.27304
11
- 811 -0.35621
12
- 812 0.49052
13
- 813 -0.69615
14
- 814 1.47772
15
- 815 1.04743
16
- 816 -0.31438
17
- 817 0.18949
18
- 818 -0.21467
19
- 819 -0.9281
20
- 820 0.53115
21
- 821 -0.8123
22
- 822 -0.40847
23
- 823 -0.93855
24
- 824 0.46953
25
- 825 -0.34634
26
- 826 -0.26202
27
- 827 0.84107
28
- 828 -0.75674
29
- 829 -0.02825
30
- 830 -1.18164
31
- 831 0.91173
32
- 832 0.24983
33
- 833 -0.5638
34
- 834 0.91993
35
- 835 -1.4235
36
- 836 0.12812
37
- 837 0.00873
38
- 838 0.49002
39
- 839 -0.32746
40
- 840 -0.44417
41
- 841 0.29133
42
- 842 1.39286
43
- 843 -0.59443
44
- 844 0.14245
45
- 845 0.35373
46
- 846 -0.90112
47
- 847 -0.27914
48
- 848 0.36178
49
- 849 -0.64327
50
- 850 1.66462
51
- 851 -1.42113
52
- 852 -0.03514
53
- 853 0.38251
54
- 854 0.46943
55
- 855 -0.22483
56
- 856 0.89962
57
- 857 -0.53231
58
- 858 0.46272
59
- 859 0.30209
60
- 860 -0.00984
61
- 861 -1.31144
62
- 862 1.61123
63
- 863 0.01665
64
- 864 -0.53184
65
- 865 -0.15623
66
- 866 0.99079
67
- 867 -0.80464
68
- 868 1.13464
69
- 869 -1.02828
70
- 870 -0.33992
71
- 871 0.75063
72
- 872 0.20407
73
- 873 -0.10212
74
- 874 0.6506
75
- 875 0.11408
76
- 876 -0.4525
77
- 877 1.29853
78
- 878 -0.70376
79
- 879 -0.57872
80
- 880 0.50342
81
- 881 -0.31267
82
- 882 0.59604
83
- 883 0.69743
84
- 884 -0.09938
85
- 885 -1.05008
86
- 886 0.18588
87
- 887 -0.60057
88
- 888 -0.34333
89
- 889 0.33322
90
- 890 -0.0096
91
- 891 0.01905
92
- 892 0.80203
93
- 893 -0.21961
94
- 894 0.15773
95
- 895 0.80763
96
- 896 -0.86492
97
- 897 -0.46373
98
- 898 0.35344
99
- 899 0.51177
100
- 900 -0.09287
101
- 901 0.5811
102
- 902 0.75913
103
- 903 0.0701
104
- 904 -0.47143
105
- 905 0.26432
106
- 906 -0.01271
107
- 907 -0.08059
108
- 908 0.01387
109
- 909 0.68793
110
- 910 -0.02377
111
- 911 1.23978
112
- 912 0.54152
113
- 913 -1.04235
114
- 914 -0.29587
115
- 915 -0.03738
116
- 916 -0.91143
117
- 917 0.40588
118
- 918 -0.60332
119
- 919 -0.77785
120
- 920 0.02496
121
- 921 0.65249
122
- 922 -0.6652
123
- 923 0.82489
124
- 924 -0.92073
125
- 925 1.61223
126
- 926 0.24301
127
- 927 0.24269
128
- 928 -0.27005
129
- 929 -0.61103
130
- 930 0.89073
131
- 931 -0.00038
132
- 932 0.27928
133
- 933 0.94758
134
- 934 -0.0988
135
- 935 0.13022
136
- 936 0.73363
137
- 937 -0.21552
138
- 938 0.54593
139
- 939 -0.06411
140
- 940 -0.81747
141
- 941 1.16813
142
- 942 -0.9724
143
- 943 -0.64132
144
- 944 0.77492
145
- 945 0.00446
146
- 946 -0.3669
147
- 947 -0.35138
148
- 948 0.66662
149
- 949 0.47472
150
- 950 0.78799
151
- 951 -1.09846
152
- 952 0.06028
153
- 953 1.21533
154
- 954 -0.44847
155
- 955 0.951
156
- 956 -1.18783
157
- 957 -0.7639
158
- 958 0.51692
159
- 959 1.0387
160
- 960 0.23683
161
- 961 0.70436
162
- 962 0.90167
163
- 963 -0.11052
164
- 964 -0.58465
165
- 965 0.23447
166
- 966 0.42308
167
- 967 -0.21254
168
- 968 0.09062
169
- 969 0.50405
170
- 970 -0.23653
171
- 971 -0.26491
172
- 972 -0.7789
173
- 973 -0.9501
174
- 974 -0.69121
175
- 975 -0.00161
176
- 976 0.1174
177
- 977 -0.22337
178
- 978 0.11292
179
- 979 1.71417
180
- 980 0.52148
181
- 981 0.50192
182
- 982 -0.97107
183
- 983 0.0103
184
- 984 0.88368
185
- 985 0.86657
186
- 986 0.73716
187
- 987 -0.02672
188
- 988 -0.34577
189
- 989 0.38773
190
- 990 -0.58088
191
- 991 0.15769
192
- 992 -0.09314
193
- 993 -0.90523
194
- 994 1.34203
195
- 995 -0.2657
196
- 996 0.62753
197
- 997 0.1608
198
- 998 -0.1597
199
- 999 1.13238
200
- 1000 -0.9573