Permalink
Browse files

update to version 1.0.0

  • Loading branch information...
1 parent 8a82dea commit 2fd528b562c6a69babf5e59f48655950144cde95 @need47 committed May 1, 2012
Showing with 151 additions and 150 deletions.
  1. +3 −3 doc/Array.html
  2. +1 −1 doc/Consistency.html
  3. +18 −16 doc/Discretizer.html
  4. +1 −1 doc/Entropy.html
  5. +1 −1 doc/FSelector.html
  6. +1 −1 doc/FSelector/Accuracy.html
  7. +1 −1 doc/FSelector/AccuracyBalanced.html
  8. +8 −8 doc/FSelector/Base.html
  9. +1 −1 doc/FSelector/BaseCFS.html
  10. +1 −1 doc/FSelector/BaseContinuous.html
  11. +2 −2 doc/FSelector/BaseDiscrete.html
  12. +1 −1 doc/FSelector/BaseRelief.html
  13. +1 −1 doc/FSelector/BaseReliefF.html
  14. +1 −1 doc/FSelector/BetweenWithinClassesSumOfSquare.html
  15. +1 −1 doc/FSelector/BiNormalSeparation.html
  16. +1 −1 doc/FSelector/CFS_c.html
  17. +1 −1 doc/FSelector/CFS_d.html
  18. +1 −1 doc/FSelector/ChiSquaredTest.html
  19. +4 −4 doc/FSelector/CorrelationCoefficient.html
  20. +1 −1 doc/FSelector/DocumentFrequency.html
  21. +1 −1 doc/FSelector/Ensemble.html
  22. +1 −1 doc/FSelector/F1Measure.html
  23. +1 −1 doc/FSelector/FTest.html
  24. +1 −1 doc/FSelector/FastCorrelationBasedFilter.html
  25. +1 −1 doc/FSelector/FishersExactTest.html
  26. +2 −2 doc/FSelector/GMean.html
  27. +1 −1 doc/FSelector/GSSCoefficient.html
  28. +1 −1 doc/FSelector/GiniIndex.html
  29. +1 −1 doc/FSelector/INTERACT.html
  30. +5 −5 doc/FSelector/InformationGain.html
  31. +1 −1 doc/FSelector/LasVegasFilter.html
  32. +1 −1 doc/FSelector/LasVegasIncremental.html
  33. +1 −1 doc/FSelector/MatthewsCorrelationCoefficient.html
  34. +4 −4 doc/FSelector/McNemarsTest.html
  35. +2 −2 doc/FSelector/MutualInformation.html
  36. +1 −1 doc/FSelector/OddsRatio.html
  37. +2 −2 doc/FSelector/OddsRatioNumerator.html
  38. +2 −2 doc/FSelector/PMetric.html
  39. +1 −1 doc/FSelector/Power.html
  40. +1 −1 doc/FSelector/Precision.html
  41. +1 −1 doc/FSelector/ProbabilityRatio.html
  42. +1 −1 doc/FSelector/Random.html
  43. +1 −1 doc/FSelector/ReliefF_c.html
  44. +1 −1 doc/FSelector/ReliefF_d.html
  45. +1 −1 doc/FSelector/Relief_c.html
  46. +1 −1 doc/FSelector/Relief_d.html
  47. +1 −1 doc/FSelector/Sensitivity.html
  48. +1 −1 doc/FSelector/Specificity.html
  49. +9 −9 doc/FSelector/SymmetricalUncertainty.html
  50. +1 −1 doc/FSelector/TScore.html
  51. +3 −3 doc/FSelector/WilcoxonRankSum.html
  52. +1 −1 doc/FileIO.html
  53. +3 −3 doc/Normalizer.html
  54. +1 −1 doc/ReplaceMissingValues.html
  55. +1 −1 doc/String.html
  56. +1 −1 doc/_index.html
  57. +1 −1 doc/file.ChangeLog.html
  58. +1 −1 doc/file.LICENSE.html
  59. +1 −1 doc/file.README.html
  60. +1 −1 doc/index.html
  61. +1 −1 doc/top-level-namespace.html
  62. +5 −5 lib/fselector/algo_base/base.rb
  63. +1 −1 lib/fselector/algo_base/base_discrete.rb
  64. +1 −1 lib/fselector/algo_continuous/PMetric.rb
  65. +2 −2 lib/fselector/algo_continuous/WilcoxonRankSum.rb
  66. +3 −3 lib/fselector/algo_discrete/CorrelationCoefficient.rb
  67. +1 −3 lib/fselector/algo_discrete/F1Measure.rb
  68. +1 −1 lib/fselector/algo_discrete/GMean.rb
  69. +4 −4 lib/fselector/algo_discrete/InformationGain.rb
  70. +3 −3 lib/fselector/algo_discrete/McNemarsTest.rb
  71. +1 −1 lib/fselector/algo_discrete/MutualInformation.rb
  72. +1 −1 lib/fselector/algo_discrete/OddsRatioNumerator.rb
  73. +7 −7 lib/fselector/algo_discrete/SymmetricalUncertainty.rb
  74. +5 −4 lib/fselector/discretizer.rb
  75. +1 −1 lib/fselector/normalizer.rb
  76. +1 −1 lib/fselector/util.rb
View
@@ -246,7 +246,7 @@
- <span class="summary_desc"><div class='inline'><p>to symbol.</p>
+ <span class="summary_desc"><div class='inline'><p>convert to symbol.</p>
</div></span>
</li>
@@ -705,7 +705,7 @@
</p><div class="docstring">
<div class="discussion">
- <p>to symbol</p>
+ <p>convert to symbol</p>
</div>
@@ -880,7 +880,7 @@
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:18 2012 by
+ Generated on Tue May 1 11:26:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -646,7 +646,7 @@
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:18 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
View
@@ -283,9 +283,9 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
<div class="note notetag">
<strong>Note:</strong>
- <div class='inline'><p>Chi2 does some feature reduction if a feature has only one interval.
-Using delta==0.02 reproduces exactly the same results as that of
-the original Chi2 algorithm</p>
+ <div class='inline'><p>Chi2 does some feature reduction if a discretized feature
+has only one interval. Using delta==0.02 reproduces exactly
+the same results as that of the original Chi2 algorithm</p>
</div>
</div>
@@ -326,7 +326,6 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
<pre class="lines">
-159
160
161
162
@@ -429,10 +428,11 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
259
260
261
-262</pre>
+262
+263</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/fselector/discretizer.rb', line 159</span>
+ <pre class="code"><span class="info file"># File 'lib/fselector/discretizer.rb', line 160</span>
<span class='kw'>def</span> <span class='id identifier rubyid_discretize_by_Chi2!'>discretize_by_Chi2!</span><span class='lparen'>(</span><span class='id identifier rubyid_delta'>delta</span><span class='op'>=</span><span class='float'>0.02</span><span class='rparen'>)</span>
<span class='comment'># degree of freedom equals one less than number of classes
@@ -582,7 +582,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
&mdash;
- <div class='inline'><p>confidence level</p>
+ <div class='inline'><p>confidence level, the smaller the less intervals</p>
</div>
</li>
@@ -669,13 +669,15 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
143
144
145
-146</pre>
+146
+147</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/fselector/discretizer.rb', line 73</span>
<span class='kw'>def</span> <span class='id identifier rubyid_discretize_by_ChiMerge!'>discretize_by_ChiMerge!</span><span class='lparen'>(</span><span class='id identifier rubyid_alpha'>alpha</span><span class='op'>=</span><span class='float'>0.10</span><span class='rparen'>)</span>
- <span class='id identifier rubyid_df'>df</span> <span class='op'>=</span> <span class='id identifier rubyid_get_classes'>get_classes</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span><span class='op'>-</span><span class='int'>1</span>
+ <span class='comment'># degree of freedom equals one less than number of classes
+</span> <span class='id identifier rubyid_df'>df</span> <span class='op'>=</span> <span class='id identifier rubyid_get_classes'>get_classes</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span><span class='op'>-</span><span class='int'>1</span>
<span class='id identifier rubyid_chisq'>chisq</span> <span class='op'>=</span> <span class='id identifier rubyid_pval2chisq'>pval2chisq</span><span class='lparen'>(</span><span class='id identifier rubyid_alpha'>alpha</span><span class='comma'>,</span> <span class='id identifier rubyid_df'>df</span><span class='rparen'>)</span>
<span class='comment'># for intialization
@@ -975,7 +977,6 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
<pre class="lines">
-272
273
274
275
@@ -1013,10 +1014,11 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
307
308
309
-310</pre>
+310
+311</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/fselector/discretizer.rb', line 272</span>
+ <pre class="code"><span class="info file"># File 'lib/fselector/discretizer.rb', line 273</span>
<span class='kw'>def</span> <span class='id identifier rubyid_discretize_by_MID!'>discretize_by_MID!</span>
<span class='comment'># determine the final boundaries
@@ -1094,7 +1096,6 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
<pre class="lines">
-320
321
322
323
@@ -1163,10 +1164,11 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
386
387
388
-389</pre>
+389
+390</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/fselector/discretizer.rb', line 320</span>
+ <pre class="code"><span class="info file"># File 'lib/fselector/discretizer.rb', line 321</span>
<span class='kw'>def</span> <span class='id identifier rubyid_discretize_by_TID!'>discretize_by_TID!</span>
<span class='comment'># cut points for each feature
@@ -1248,7 +1250,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href="E
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:18 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
View
@@ -787,7 +787,7 @@
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:18 2012 by
+ Generated on Tue May 1 11:26:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
View
@@ -598,7 +598,7 @@
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:18 2012 by
+ Generated on Tue May 1 11:26:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -169,7 +169,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:19 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -169,7 +169,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:20 2012 by
+ Generated on Tue May 1 11:26:13 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -251,7 +251,7 @@
- <span class="summary_desc"><div class='inline'><p>get data.</p>
+ <span class="summary_desc"><div class='inline'><p>get internal data.</p>
</div></span>
</li>
@@ -273,7 +273,7 @@
- <span class="summary_desc"><div class='inline'><p>get a copy of data, by means of the standard Marshal library.</p>
+ <span class="summary_desc"><div class='inline'><p>get a copy of internal data, by means of the standard Marshal library.</p>
</div></span>
</li>
@@ -966,7 +966,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</p><div class="docstring">
<div class="discussion">
- <p>get data</p>
+ <p>get internal data</p>
</div>
@@ -1021,7 +1021,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</p><div class="docstring">
<div class="discussion">
- <p>get a copy of data, by means of the standard Marshal library</p>
+ <p>get a copy of internal data, by means of the standard Marshal library</p>
</div>
@@ -1548,7 +1548,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
<strong>Note:</strong>
<div class='inline'><p>data structure will be altered. Dderived class must
implement its own get_subset(). This is only available for
-the feture subset selection type of algorithms</p>
+the feature subset selection type of algorithms</p>
</div>
</div>
@@ -1616,7 +1616,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
<div class="note notetag">
<strong>Note:</strong>
<div class='inline'><p>data structure will be altered. This is only available for
-the feture weighting type of algorithms</p>
+the feature weighting type of algorithms</p>
</div>
</div>
@@ -1720,7 +1720,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
<div class="note notetag">
<strong>Note:</strong>
<div class='inline'><p>data structure will be altered. This is only available for
-the feture weighting type of algorithms</p>
+the feature weighting type of algorithms</p>
</div>
</div>
@@ -2059,7 +2059,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:18 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -168,7 +168,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:18 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -271,7 +271,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:19 2012 by
+ Generated on Tue May 1 11:26:13 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -98,7 +98,7 @@
<div class="discussion">
<p>base alogrithm for discrete feature</p>
-<pre class="code ruby"><code>2 x 2 contingency table
+<pre class="code ruby"><code>many algos are based on the following 2 x 2 contingency table
c c'
---------
@@ -251,7 +251,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:19 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -266,7 +266,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:19 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -281,7 +281,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:19 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -217,7 +217,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:19 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -172,7 +172,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:20 2012 by
+ Generated on Tue May 1 11:26:13 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -206,7 +206,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:19 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -176,7 +176,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:19 2012 by
+ Generated on Tue May 1 11:26:12 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -268,7 +268,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:20 2012 by
+ Generated on Tue May 1 11:26:13 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -101,9 +101,9 @@
<p>Correlation Coefficient (CC), a variant of CHI,
which can be viewed as a one-sided chi-squared metric</p>
-<pre class="code ruby"><code> sqrt(N) * (A*D - B*C)
-CC(f,c) = --------------------------------------
- sqrt( (A+B) * (C+D) * (A+C) * (B+D) )
+<pre class="code ruby"><code> <span class='id identifier rubyid_sqrt'>sqrt</span><span class='lparen'>(</span><span class='const'>N</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='lparen'>(</span><span class='const'>A</span><span class='op'>*</span><span class='const'>D</span> <span class='op'>-</span> <span class='const'>B</span><span class='op'>*</span><span class='const'>C</span><span class='rparen'>)</span>
+<span class='const'>CC</span> <span class='op'>=</span> <span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span><span class='op'>-</span>
+ <span class='id identifier rubyid_sqrt'>sqrt</span><span class='lparen'>(</span> <span class='lparen'>(</span><span class='const'>A</span><span class='op'>+</span><span class='const'>B</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='lparen'>(</span><span class='const'>C</span><span class='op'>+</span><span class='const'>D</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='lparen'>(</span><span class='const'>A</span><span class='op'>+</span><span class='const'>C</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='lparen'>(</span><span class='const'>B</span><span class='op'>+</span><span class='const'>D</span><span class='rparen'>)</span> <span class='rparen'>)</span>
</code></pre>
<p>ref: <a href="http://www.site.uottawa.ca/%7Enat/Workshop2003/zheng.pdf">Optimally Combining Positive and Negative Features for Text Categorization</a></p>
@@ -172,7 +172,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:20 2012 by
+ Generated on Tue May 1 11:26:13 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -169,7 +169,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:20 2012 by
+ Generated on Tue May 1 11:26:13 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
@@ -914,7 +914,7 @@ <h3 class="inherited">Methods included from <span class='object_link'><a href=".
</div>
<div id="footer">
- Generated on Mon Apr 30 17:38:18 2012 by
+ Generated on Tue May 1 11:26:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.5 (ruby-1.9.3).
</div>
Oops, something went wrong.

0 comments on commit 2fd528b

Please sign in to comment.