Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ tfidf.py
File
tfidf.py
recommenders/tfidf.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
pandas
as
pd
2
import
json
3
4
from
sklearn.feature_extraction.text
import
TfidfVectorizer
Callers
nothing calls this directly
Calls
2
recommend
Function · 0.85
fit_transform
Method · 0.45
Tested by
no test coverage detected