Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1
import
os, sys; sys.path.insert(0, os.path.join(
".."
,
".."
))
2
3
from
pattern.vector
import
Document, Model, Bayes
4
from
pattern.db
import
Datasheet
Callers
nothing calls this directly
Calls
9
Document
Class · 0.90
Model
Class · 0.90
len
Function · 0.85
sum
Function · 0.85
insert
Method · 0.45
load
Method · 0.45
append
Method · 0.45
train
Method · 0.45
classify
Method · 0.45
Tested by
no test coverage detected