1.0.15 • Published 7 years ago

colint v1.0.15

Weekly downloads
44
License
-
Repository
github
Last release
7 years ago

colint

Collective intelligence library

purpose

colint defines a set of classes and functions useful for collective intelligence / artificial intelligence tasks. (classification, regression, estimation etc...)

This repository was inspired by the book Collective Intelligence by Toby Segaran 2007.

example

colint = require 'colint'

classify = colint.classify

# create a NaiveBayes classifier with a simple token splitter
nb = new classify.NaiveBayes(classify.splitters.simple)

nb.train "This is the text of some document", "category"

[top_category, stats] = nb.classifications "Document to classify"

see /examples folder for a working classification, recommendation and decision tree example

install

With npm do:

npm install colint

license

MIT

1.0.15

7 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago