MCPcopy Index your code
hub / github.com/clips/pattern / 05-bayes.py

File 05-bayes.py

examples/05-vector/05-bayes.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os, sys; sys.path.insert(0, os.path.join("..", ".."))
2
3from pattern.vector import Document, Model, Bayes
4from pattern.db import Datasheet

Callers

nothing calls this directly

Calls 9

DocumentClass · 0.90
ModelClass · 0.90
lenFunction · 0.85
sumFunction · 0.85
insertMethod · 0.45
loadMethod · 0.45
appendMethod · 0.45
trainMethod · 0.45
classifyMethod · 0.45

Tested by

no test coverage detected