[
https://issues.apache.org/jira/browse/MAHOUT-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved MAHOUT-421.
------------------------------
Fix Version/s: 0.4
Resolution: Fixed
> Item similarity in AbstractSimilarity always centers data
> ---------------------------------------------------------
>
> Key: MAHOUT-421
> URL: https://issues.apache.org/jira/browse/MAHOUT-421
> Project: Mahout
> Issue Type: Bug
> Components: Collaborative Filtering
> Affects Versions: 0.4
> Reporter: Emerson Murphy-HIll
> Assignee: Sean Owen
> Priority: Minor
> Fix For: 0.4
>
>
> I'm trying to use UncenteredCosineSimilarity. When calculating similarity
> between users in AbstractSimilarity>>itemSimilarity, there's a condition to
> determine whether to center the data:
> double result;
> if (centerData) {
> ... get result with centering
> } else {
> ... get result without
> }
>
> In AbstractSimilarity>>itemSimilarity, there's no conditional. It *always*
> centers the data. Shouldn't it only center the data when centerData is true?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.