[Chicago-talk] Two Perl AI questions

Richard Reina richard at rushlogistics.com
Fri Feb 20 11:21:08 PST 2026


Hello Perl Friends,

I use Algorithm::NaiveBayes to guess at what category a text version of a file is, for example is it an invoice, a contract, a letter of assignment, etc based on a local library of sample files. The program finally after a few years of accumulated sample files it is getting pretty good. I would say about 98% and improving. The program chugs along on a Raspberry Pi 4. I am considering moving it to a Pi 5 and adding a Raspberri PI AI Hat 2 https://www.raspberrypi.com/products/ai-hat-plus-2/


1) I have two questions will this hat help? That is will the Algorithm::NaiveBayes module actually use it?

2) Is there a better way  I should be doing this?

Thanks,

Richard


More information about the Chicago-talk mailing list