Author: srowen
Date: Fri Jan 23 06:44:30 2009
New Revision: 737034

URL: http://svn.apache.org/viewvc?rev=737034&view=rev
Log:
Fixed javadoc warnings and fixed problematic creation of .tar.gz dist file -- 
file names too long

Removed:
    lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/package.html
Modified:
    lucene/mahout/trunk/build.xml
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/eval/RecommenderIRStatsEvaluator.java
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/BayesClassifier.java
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/package.html
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/cbayes/CBayesClassifier.java
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/canopy/Canopy.java
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansJob.java
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/SoftCluster.java
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/Cluster.java
    
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/meanshift/MeanShiftCanopy.java
    lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Matrix.java
    lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Vector.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJB.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJBLocal.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/classifier/bayes/package.html
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDFitness.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDMutation.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/DataSet.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/FileInfoParser.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/hadoop/CDMapper.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/DescriptionUtils.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolCombiner.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolMapper.java
    
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolReducer.java

Modified: lucene/mahout/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/build.xml?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- lucene/mahout/trunk/build.xml (original)
+++ lucene/mahout/trunk/build.xml Fri Jan 23 06:44:30 2009
@@ -62,7 +62,7 @@
   <!-- make a distribution -->
   <target name="package"
           description="Packages the Mahout distribution files and 
documentation."
-          depends="dist, javadoc">
+          depends="clean, dist, javadoc">
 
     <property name="fullname" value="apache-${ant.project.name}"/>
     <property name="fullnamever" 
value="apache-${ant.project.name}-${version}"/>
@@ -71,48 +71,33 @@
 
     <mkdir dir="${dist}"/>
 
-    <tar destfile="${dist}/${fullnamever}.tgz" compression="gzip">
-      <tarfileset dir="."
+    <zip destfile="${dist}/${fullnamever}.zip">
+      <zipfileset dir="."
                   prefix="${fullnamever}"
                   includes="KEYS LICENSE.txt NOTICE.txt README.txt build.xml 
pom.xml common-build.xml lib/"
                   excludes=""/>
-      <tarfileset dir="./core"
+      <zipfileset dir="./core"
                   prefix="${fullnamever}/core"
                   includes="build.properties build.xml taste-build.xml pom.xml 
src/ lib/"
                   excludes=""/>
-      <tarfileset dir="./examples"
+      <zipfileset dir="./examples"
                   prefix="${fullnamever}/examples"
                   includes="build.properties build.xml pom.xml src/ lib/"
                   excludes=""/>
-      <tarfileset dir="./core/build/docs/api"
+      <zipfileset dir="./core/build/docs/api"
                   prefix="${fullnamever}/docs/core/api"/>
 
-      <tarfileset dir="./examples/build/docs/api"
+      <zipfileset dir="./examples/build/docs/api"
                   prefix="${fullnamever}/docs/examples/api"/>
       <!-- full set of apis -->
-      <tarfileset dir="./build/docs/api"
+      <zipfileset dir="./build/docs/api"
                   prefix="${fullnamever}/docs/api"/>
 
-      <tarfileset dir="./core/dist/"
+      <zipfileset dir="./core/dist/"
                   prefix="${fullnamever}"
                   includes="*.jar"/>
-    </tar>
-
-    <!-- unpack tarball and create zipball -->
-
-    <property name="dest" value="build"/>
-    <mkdir dir="${dest}"/>
-
-    <gunzip src="${dist}/${fullnamever}.tgz" 
dest="${dest}/${fullnamever}.tar"/>
-    <untar src="${dest}/${fullnamever}.tar" dest="${dest}"/>
-
-    <zip destfile="${dist}/${fullnamever}.zip">
-      <zipfileset dir="${dest}/${fullnamever}"
-                  prefix="${fullnamever}"/>
     </zip>
 
-    <delete dir="${dest}"/>
-
     <!-- pgp arm tgz and zip -->
     <exec command="gpg --armor --output ${dist}/${fullnamever}.tgz.asc 
--detach-sig ${dist}/${fullnamever}.tgz"/>
     <exec command="gpg --armor --output ${dist}/${fullnamever}.zip.asc 
--detach-sig ${dist}/${fullnamever}.zip"/>
@@ -120,7 +105,6 @@
     <!-- create md5 sum for tgz and zip -->
     <!--<exec command="openssl dgst -md5 -out ${dist}/${fullnamever}.tgz.md5 
${dist}/${fullnamever}.tgz"/>
     <exec command="openssl dgst -md5 -out ${dist}/${fullnamever}.zip.md5 
${dist}/${fullnamever}.zip"/>-->
-    <mahout-checksum file="${dist}/${fullnamever}.tgz"/>
     <mahout-checksum file="${dist}/${fullnamever}.zip"/>
 
     <!-- create maven artifacts -->

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/eval/RecommenderIRStatsEvaluator.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/eval/RecommenderIRStatsEvaluator.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/eval/RecommenderIRStatsEvaluator.java
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/eval/RecommenderIRStatsEvaluator.java
 Fri Jan 23 06:44:30 2009
@@ -35,7 +35,7 @@
    * @param recommenderBuilder object that can build a
    * {...@link org.apache.mahout.cf.taste.recommender.Recommender} to test
    * @param dataModel dataset to test on
-   * @param rescorer, if any, to use when computing recommendations
+   * @param rescorer if any, to use when computing recommendations
    * @param at as in, "precision at 5". The number of recommendations to 
consider when evaluating
    * precision, etc.
    * @param relevanceThreshold {...@link Item}s whose preference value is at 
least

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/BayesClassifier.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/BayesClassifier.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/BayesClassifier.java
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/BayesClassifier.java
 Fri Jan 23 06:44:30 2009
@@ -101,7 +101,7 @@
    * @param label       The label to calculate the probability of
    * @param document    The document
    * @return The probability
-   * @see Model# featureWeight (String, String)
+   * @see Model#featureWeight(String, String)
    */
   @Override
   public double documentWeight(Model model, String label, String[] document) {

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/package.html
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/package.html?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/package.html
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/package.html
 Fri Jan 23 06:44:30 2009
@@ -1,3 +1,5 @@
+<HTML>
+
 <!--
 /**
 * Licensed to the Apache Software Foundation (ASF) under one or more

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/cbayes/CBayesClassifier.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/cbayes/CBayesClassifier.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/cbayes/CBayesClassifier.java
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/cbayes/CBayesClassifier.java
 Fri Jan 23 06:44:30 2009
@@ -99,7 +99,7 @@
    * @param label       The label to calculate the probability of
    * @param document    The document
    * @return The probability
-   * @see Model# featureWeight (String, String)
+   * @see Model#featureWeight(String, String)
    */
   @Override
   public double documentWeight(Model model, String label, String[] document) {

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/canopy/Canopy.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/canopy/Canopy.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/canopy/Canopy.java
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/canopy/Canopy.java
 Fri Jan 23 06:44:30 2009
@@ -230,7 +230,6 @@
    * Format the canopy for output
    * 
    * @param canopy
-   * @return
    */
   public static String formatCanopy(Canopy canopy) {
     return "C" + canopy.canopyId + ": "

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansJob.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansJob.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansJob.java
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansJob.java
 Fri Jan 23 06:44:30 2009
@@ -73,8 +73,8 @@
    * @param convergenceDelta the convergence delta value
    * @param maxIterations the maximum number of iterations
    * @param numMapTasks the number of maptasks
-   * @doCanopy does canopy needed for initial clusters
-   * @m param needed to fuzzify the cluster membership values
+   * @param doCanopy does canopy needed for initial clusters
+   * @param m param needed to fuzzify the cluster membership values
    */
   public static void runJob(String input, String clustersIn, String output,
       String measureClass, double convergenceDelta, int maxIterations,

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/SoftCluster.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/SoftCluster.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/SoftCluster.java
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/SoftCluster.java
 Fri Jan 23 06:44:30 2009
@@ -78,7 +78,6 @@
    * Format the SoftCluster for output
    * 
    * @param cluster the Cluster
-   * @return
    */
   public static String formatCluster(SoftCluster cluster) {
     return cluster.getIdentifier() + ": "
@@ -89,7 +88,6 @@
    * Decodes and returns a SoftCluster from the formattedString
    * 
    * @param formattedString a String produced by formatCluster
-   * @return
    */
   public static SoftCluster decodeCluster(String formattedString) {
     int beginIndex = formattedString.indexOf('[');
@@ -214,7 +212,6 @@
    * 
    * @param clusterDistance
    * @param clusterDistanceList
-   * @return
    */
   public static double computeProbWeight(double clusterDistance,
       List<Double> clusterDistanceList) {

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/Cluster.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/Cluster.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/Cluster.java
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/Cluster.java
 Fri Jan 23 06:44:30 2009
@@ -63,9 +63,7 @@
   /**
    * Format the cluster for output
    * 
-   * @param cluster
-   *            the Cluster
-   * @return
+   * @param cluster the Cluster
    */
   public static String formatCluster(Cluster cluster) {
     return cluster.getIdentifier() + ": "

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/meanshift/MeanShiftCanopy.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/meanshift/MeanShiftCanopy.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/meanshift/MeanShiftCanopy.java
 (original)
+++ 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/meanshift/MeanShiftCanopy.java
 Fri Jan 23 06:44:30 2009
@@ -184,7 +184,6 @@
    * Format the canopy for output
    * 
    * @param canopy
-   * @return
    */
   public static String formatCanopy(MeanShiftCanopy canopy) {
     StringBuilder builder = new StringBuilder();
@@ -373,9 +372,7 @@
   }
 
   /**
-   * Return the number of points under the Canopy
-   * 
-   * @return
+   * @return the number of points under the Canopy
    */
   public int getNumPoints() {
     return numPoints;

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Matrix.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Matrix.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Matrix.java 
(original)
+++ lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Matrix.java 
Fri Jan 23 06:44:30 2009
@@ -190,7 +190,6 @@
    * 
    * @param rows the int number of rows
    * @param columns the int number of columns
-   * @return
    */
   Matrix like(int rows, int columns);
 

Modified: 
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Vector.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Vector.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Vector.java 
(original)
+++ lucene/mahout/trunk/core/src/main/java/org/apache/mahout/matrix/Vector.java 
Fri Jan 23 06:44:30 2009
@@ -33,9 +33,7 @@
   WritableComparable<?> asWritableComparable();
 
   /**
-   * Return a formatted String suitable for output
-   *
-   * @return
+   * @return a formatted String suitable for output
    */
   String asFormatString();
 

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJB.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJB.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJB.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJB.java
 Fri Jan 23 06:44:30 2009
@@ -62,7 +62,7 @@
   void removePreference(Object userID, Object itemID) throws TasteException, 
RemoteException;
 
   /**
-   * @see 
org.apache.mahout.cf.taste.recommender.Recommender#refresh(Collection<Refreshable>)
+   * @see 
org.apache.mahout.cf.taste.recommender.Recommender#refresh(java.util.Collection)
    */
   void refresh(Collection<Refreshable> alreadyRefreshed) throws 
RemoteException;
 

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJBLocal.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJBLocal.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJBLocal.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/cf/taste/ejb/RecommenderEJBLocal.java
 Fri Jan 23 06:44:30 2009
@@ -60,7 +60,7 @@
   void removePreference(Object userID, Object itemID) throws TasteException;
 
   /**
-   * @see 
org.apache.mahout.cf.taste.recommender.Recommender#refresh(Collection<Refreshable>)
+   * @see 
org.apache.mahout.cf.taste.recommender.Recommender#refresh(Collection)
    */
   void refresh(Collection<Refreshable> alreadyRefreshed);
 

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/classifier/bayes/package.html
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/classifier/bayes/package.html?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/classifier/bayes/package.html
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/classifier/bayes/package.html
 Fri Jan 23 06:44:30 2009
@@ -22,7 +22,7 @@
 </HEAD>
 <BODY>
 <DIV>The Bayes example package provides some helper classes for training the 
Naive Bayes classifier on the Twenty Newsgroups
-  data.  See {...@link 
org.apache.mahout.classifier.bayes.TrainTwentyNewsgroups} for details on 
running the trainer.  See
+  data.  See {...@link 
org.apache.mahout.classifier.bayes.PrepareTwentyNewsgroups} for details on 
running the trainer.  See
   {...@link org.apache.mahout.classifier.bayes.PrepareTwentyNewsgroups} for 
details on formatting the Twenty Newsgroups data
   properly for the training.
 </DIV>
@@ -50,4 +50,3 @@
 </DIV>
 </BODY>
 </HTML>
-<HTML>
\ No newline at end of file

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDFitness.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDFitness.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDFitness.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDFitness.java
 Fri Jan 23 06:44:30 2009
@@ -105,7 +105,6 @@
 
   /**
    * Calculates the fitness corresponding to this evaluation.
-   * @return
    */
   public double get() {
     double se = ((double) tp) / (tp + fn); // sensitivity

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDMutation.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDMutation.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDMutation.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/CDMutation.java
 Fri Jan 23 06:44:30 2009
@@ -46,8 +46,7 @@
    * @param range max step-size for each variable
    * @param k mutation precision
    * 
-   * See
-   * {...@see http://www.geatbx.com/docu/algindex-04.html#P659_42386 real 
valued mutation}
+   * See http://www.geatbx.com/docu/algindex-04.html#P659_42386 real valued 
mutation
    * for more information about the parameters
    */
   public CDMutation(double rate, double range, int k) {

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/DataSet.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/DataSet.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/DataSet.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/DataSet.java
 Fri Jan 23 06:44:30 2009
@@ -106,7 +106,6 @@
   /**
    * Singleton DataSet
    * 
-   * @return
    * @throws RuntimeException if the dataset has not been initialized
    */
   public static DataSet getDataSet() {
@@ -125,16 +124,13 @@
   }
 
   /**
-   * Number of non-ignored attributes.
-   * 
-   * @return
+   * @return number of non-ignored attributes.
    */
   public int getNbAttributes() {
     return attributes.size();
   }
 
   /**
-   * 
    * @return Indexes of the ignored attributes, if any.
    */
   public List<Integer> getIgnoredAttributes() {
@@ -142,9 +138,7 @@
   }
 
   /**
-   * zero-based position of the label in the dataset.
-   * 
-   * @return
+   * @return zero-based position of the label in the dataset.
    */
   public int getLabelIndex() {
     return labelIndex;
@@ -154,7 +148,6 @@
    * Maximum possible value for an attribute
    * 
    * @param index of the attribute
-   * @return
    * @throws RuntimeException if the attribute is nominal
    */
   public double getMax(int index) {
@@ -168,7 +161,6 @@
    * Minimum possible value for an attribute
    * 
    * @param index of the attribute
-   * @return
    * @throws RuntimeException if the attribute is nominal
    */
   public double getMin(int index) {
@@ -182,7 +174,6 @@
    * Number of values for a nominal attribute
    * 
    * @param index of the attribute
-   * @return
    * @throws RuntimeException if the attribute is numerical
    */
   public int getNbValues(int index) {

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/FileInfoParser.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/FileInfoParser.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/FileInfoParser.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/FileInfoParser.java
 Fri Jan 23 06:44:30 2009
@@ -111,7 +111,6 @@
    * 
    * @param fs file system
    * @param inpath
-   * @return
    * @throws IOException
    */
   public static Path getInfoFile(FileSystem fs, Path inpath)
@@ -134,7 +133,6 @@
    * Parse a nominal attribute.
    * 
    * @param tokenizer
-   * @return
    */
   private static NominalAttr parseNominal(StringTokenizer tokenizer) {
     List<String> vlist = new ArrayList<String>();
@@ -151,7 +149,6 @@
    * Parse a numerical attribute.
    * 
    * @param tokenizer
-   * @return
    */
   private static NumericalAttr parseNumerical(StringTokenizer tokenizer) {
     double min = nextDouble(tokenizer);

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/hadoop/CDMapper.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/hadoop/CDMapper.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/hadoop/CDMapper.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/hadoop/CDMapper.java
 Fri Jan 23 06:44:30 2009
@@ -111,7 +111,6 @@
    * @param target expected label
    * @param prediction
    * @param label actual label
-   * @return
    */
   public static CDFitness evaluate(int target, int prediction, int label) {
     int tp = (label == target && prediction == 1) ? 1 : 0;

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/DescriptionUtils.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/DescriptionUtils.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/DescriptionUtils.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/DescriptionUtils.java
 Fri Jan 23 06:44:30 2009
@@ -42,7 +42,6 @@
    * 
    * @param min
    * @param max
-   * @return
    */
   public static String createNumericalDescription(double min, double max) {
     return min + "," + max;
@@ -52,7 +51,6 @@
    * Create a nominal description from the possible values.
    * 
    * @param values
-   * @return
    */
   public static String createNominalDescription(Collection<String> values) {
     StringBuilder buffer = new StringBuilder();

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolCombiner.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolCombiner.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolCombiner.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolCombiner.java
 Fri Jan 23 06:44:30 2009
@@ -40,7 +40,7 @@
  * found.</li>
  * </ul>
  * 
- * @see Descriptors, for more informations about the job parameter
+ * See Descriptors, for more informations about the job parameter
  */
 public class ToolCombiner extends MapReduceBase implements
     Reducer<LongWritable, Text, LongWritable, Text> {

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolMapper.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolMapper.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolMapper.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolMapper.java
 Fri Jan 23 06:44:30 2009
@@ -45,7 +45,7 @@
  * <li> Text : attribute value </li>
  * </ul>
  * 
- * @see Descriptors, for more informations about the job parameter
+ * See Descriptors, for more informations about the job parameter
  */
 public class ToolMapper extends MapReduceBase implements
     Mapper<LongWritable, Text, LongWritable, Text> {

Modified: 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolReducer.java
URL: 
http://svn.apache.org/viewvc/lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolReducer.java?rev=737034&r1=737033&r2=737034&view=diff
==============================================================================
--- 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolReducer.java
 (original)
+++ 
lucene/mahout/trunk/examples/src/main/java/org/apache/mahout/ga/watchmaker/cd/tool/ToolReducer.java
 Fri Jan 23 06:44:30 2009
@@ -41,7 +41,7 @@
  * found.</li>
  * </ul>
  * 
- * @see Descriptors, for more informations about the job parameter
+ * See Descriptors, for more informations about the job parameter
  */
 public class ToolReducer extends MapReduceBase implements
     Reducer<LongWritable, Text, LongWritable, Text> {


Reply via email to