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

ClusterOutputPostProcessorDriver has private default constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.8
    • 0.10.0
    • classic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: