Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataScienceHamburg/PyTorchUltimateMaterial
/ predict
Function
predict
500_Miscellanious/elm.py:36–39 ·
view source on GitHub ↗
(X)
Source
from the content-addressed store, hash-verified
34
return
H
35
36
def
predict(X):
37
out = hidden_nodes(X)
38
out = np.dot(out, beta)
39
return
out
40
41
# %% calculate output weights beta
42
# this are our model weights
Callers
1
elm.py
File · 0.70
Calls
1
hidden_nodes
Function · 0.85
Tested by
no test coverage detected