[
https://issues.apache.org/jira/browse/MAHOUT-487?focusedWorklogId=953522&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-953522
]
ASF GitHub Bot logged work on MAHOUT-487:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Jan/25 04:09
Start Date: 22/Jan/25 04:09
Worklog Time Spent: 10m
Work Description: andrewmusselman merged PR #488:
URL: https://github.com/apache/mahout/pull/488
Issue Time Tracking
-------------------
Worklog Id: (was: 953522)
Time Spent: 20m (was: 10m)
> Issues with memory use and inconsistent or state-influenced results when
> using CBayesAlgorithm
> ----------------------------------------------------------------------------------------------
>
> Key: MAHOUT-487
> URL: https://issues.apache.org/jira/browse/MAHOUT-487
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.3, 0.4, 0.5
> Reporter: Drew Farris
> Assignee: Robin Anil
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Came across this digging through the mailing list archives for something
> else, probably worth tracking as an issue.
> {quote}
> During classification, every word still unknown is added to
> featureDictionary. This leads to the excessive growth if lots of texts
> with unknown words are to be classified. The inconsistency is caused by
> using a "vocabCount" that is not reset after each classification.
> Indeed, featureDictionary.size() is used for "vocabCount", which
> increases every time new unknown words are discovered.
> {quote}
> See:
> http://www.lucidimagination.com/search/document/7dabe3efec8d136d/issues_with_memory_use_and_inconsistent_or_state_influenced_results_when_using_cbayesalgorit#8853165db260bf75
> Alternately per Robin:
> {quote}
> We can remove the addition features to the
> dictionary altogether. Will yield better performance, and lock down the
> model. Will require a bit more modification
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)