Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ fit
Method
fit
nlp_class2/bow_classifier.py:53–54 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
51
self.V, self.D = self.embedding.shape
52
53
def
fit(self, data):
54
pass
55
56
def
transform(self, data):
57
X = np.zeros((len(data), self.D))
Callers
2
fit_transform
Method · 0.95
bow_classifier.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected