voyanttools / trombone

GNU General Public License v3.0
3 stars 2 forks source link

TFIDF comparison type in analysis returns all zeros. #41

Open recrm opened 2 months ago

recrm commented 2 months ago

Tfidf comparison type doesn't seem to be working when used in analysis. All the dimensions return 0 and all the words have a vector of 0. I'm worried this might be a floating point issue, which would be very hard to fix.

Screen Shot 2024-07-25 at 1 20 06 PM
recrm commented 2 months ago

Note, this seems to only happen when type is set to "ca" (the default). The rest seem to be working.

ajmacdonald commented 2 months ago

Note to self: like the other CA issue, this occurs when a query is specified or when the limit is too low.