classifier-reborn icon indicating copy to clipboard operation
classifier-reborn copied to clipboard

A general classifier module to allow Bayesian and other types of classifications. A fork of cardmagic/classifier.

Results 31 classifier-reborn issues
Sort by recently updated
recently updated
newest added

In #198, I added support for using [Numo::Linalg](https://github.com/ruby-numo/numo-linalg) as the linear algebra backend for classifier-reborn. At that time, I updated the docs with instructions for installing Numo, but the macOS...

This is only for the LSI; the Bayes handles it fine: ```ruby [12] pry(main)> lsi = ClassifierReborn::LSI.new => # [13] pry(main)> lsi.add_item("Manṣūr", :content) => nil [14] pry(main)> lsi.add_item("ʿAbd", :content) ZeroDivisionError:...

See issue #188 for details. Prior to this change, pooled redis connections were hard to share across jobs. Now you can inject your own redis connection into the intiailizer via...

Trying to address #172 I'm still working through this, but dumping a plain Ruby hash seems like the way to go. TODO: - [x] return data structure from export to...

It be easier to scale up our redis usage if we were able to pass around a redis connection to `BayesRedisBackend` rather than let that class hold it's own connection....

```ruby terms = %w(artist_name artist_years art_title signature_info medium dimensions dimensions art_created_year) lsi = ClassifierReborn::LSI.new array = ["Jean Arp", "1886 - 1966", "FIGURE-GERME DITE \"L'APRÈS-MIDINETTE\"", "Stamped with the raised initials HA ...

Is there a way to have multiple completely separate bayes classifiers with a single redis database? I can monkey patch the redis backend to accept a scope param and combine...

```ruby require 'classifier-reborn' lsi = ClassifierReborn::LSI.new strings = [ "This is filler text that I invented.This is also a paragraph that could be used", "This post is amazing. Please take...

I didn't see any mechanism in the docs to do this. Is is poddible? that way we dont need to retrain every time.

As discussed in https://github.com/jekyll/classifier-reborn/issues/27 we need to rewrite the SVD method [here](https://github.com/jekyll/classifier-reborn/blob/master/lib/classifier-reborn/extensions/vector.rb#L15). This could also be used as an opportunity to remove the monkey patch on matrix, and provide a...

enhancement