bayes classifier for assigning bank transactions to accounts
Ernst Kloppenburg
ernst.kloppenburg at gmx.de
Wed Nov 4 01:59:53 EST 2026
I like this idea / concept a lot! On first sight it appears to
structurally fit the data and the usage context better than what we have
now.
- For the way I use gnucash though it would not work: I use one gnucash
file per year, which is created by copying the previous year's one and
then removing all transactions.
- Also implementing your approach into gnucash would mean making larger
and non-backwards-compatible changes.
So in order to possibly more quickly get an improvement into gnucash I
would like to stay focused on "just switching classification algorithms".
Meanwhile I have actually done my October bank statement imports using a
patched version of gnucash 5.17 with the proposed multiclass naive bayes
algorithm. A much improved experience!
Anyway, the script now has a "--from-ledger" option that simulates
having an always-correct token database, so you can compare results.
Am 04.11.26 um 01:23 schrieb flywire:
> Ernst,
>
> Another approach would be an option to completely purge the historical
> token database and programmatically rebuild it from scratch using the
> existing transactions in the file. This would wipe out past
> misclassifications, clear out database bloat, and establish verified
> history as the clean single source of truth.
>
> Would you be interested in tweaking your script to test this?
>
> Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20261104/159c5f04/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnc-bayes-eval-full-ledger.py
Type: text/x-python
Size: 22645 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20261104/159c5f04/attachment.py>
More information about the gnucash-devel
mailing list