Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ 03-lsa.py
File
03-lsa.py
examples/05-vector/03-lsa.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
import
time
3
4
from
pattern.vector
import
Document, Model, KNN
Callers
nothing calls this directly
Calls
10
Document
Class · 0.90
Model
Class · 0.90
len
Function · 0.85
sum
Function · 0.85
test
Method · 0.80
abs
Function · 0.50
insert
Method · 0.45
load
Method · 0.45
append
Method · 0.45
items
Method · 0.45
Tested by
no test coverage detected