Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1501

ClusterOutputPostProcessorDriver has private default constructor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.10.0
    • Component/s: Clustering
    • Labels:
      None

      Description

      Some guy just decided to make default constructor of org.apache.mahout.clustering.topdown.postprocessor.ClusterOutputPostProcessorDriver private.

      This is not really bug, it's just inconsistent since all the other Drivers I found in mahout-core do not have private constructor.

      The private constructor inhibits me from doing this:

      return ToolRunner.run(new ClusterOutputPostProcessorDriver(), clusterPPArgsStrings);
      

      the very same way I am doing this:

      return ToolRunner.run(new KMeansDriver(), kmeansArgsStrings);
      

      Fix would be to just remove private constructor.

        Attachments

          Activity

            People

            • Assignee:
              ssc Sebastian Schelter
              Reporter:
              reinis_v Reinis Vicups
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: