Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.
/ judgr-redis Public archive

Redis support for Judgr, a naïve Bayes classifier library written in Clojure.

License

Notifications You must be signed in to change notification settings

danielfm/judgr-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Support for Judgr

This project adds Redis support for Judgr, a naïve Bayes classifier library written in Clojure.

Getting Started

Add the following dependencies to your project.clj file:

[judgr/redis "0.2.2"]

Then, require the judgr.redis.db module and adjust the settings in order to create your classifier:

(ns your-ns
  (:use [judgr.core]
        [judgr.settings]
        [judgr.redis.db]))

(def new-settings
  (update-settings settings
                   [:database :type] :redis
                   [:database :redis] {:database 0
                                       :host     "localhost"
                                       :port     6379
                                       :password nil}))

(def classifier (classifier-from new-settings))

Doing this, all data will be stored in the specified Redis instance.

License

Copyright (C) Daniel Fernandes Martins

Distributed under the New BSD License. See COPYING for further details.

About

Redis support for Judgr, a naïve Bayes classifier library written in Clojure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published