Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternScience/InternAgent
/ RMSE
Function
RMSE
tasks/AutoPower/code/metrics.py:4–7 ·
view source on GitHub ↗
(predictions, targets)
Source
from the content-addressed store, hash-verified
2
import
torch.nn
as
nn
3
4
def
RMSE(predictions, targets):
5
mse_eval = nn.MSELoss()
6
rmse = torch.sqrt(mse_eval(predictions, targets)).item()
7
return
rmse
Callers
2
vm_va_matrix
Function · 0.90
vm_va_matrix
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected