[ 
https://issues.apache.org/jira/browse/MAHOUT-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003344#comment-13003344
 ] 

Sean Owen commented on MAHOUT-616:
----------------------------------

Hmm, surely there is a better approach that doesn't use "instanceof" 
everywhere. I feel like it would be cleaner to give all Clusters a configure() 
method and always call it? Even if it is a no-op for other implementations?

> Cannot use MahalanobisDistanceMeasure with Dirichlet clustering
> ---------------------------------------------------------------
>
>                 Key: MAHOUT-616
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-616
>             Project: Mahout
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 0.5
>            Reporter: Vasil Vasilev
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: mahalanobis_fix.patch
>
>
> When Dirichlet clustering is run with DistanceMeasureClusterDistribution and 
> MahalanobisDistanceMeasure the configure method of the distance measure is 
> not called. In this way the configuration data cannot be supplied to the 
> distance measure. In addition there is a bug in the 
> MahalanobisDistanceMeasure that does not take into account the matrix class

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to