quick tests

This commit is contained in:
art 2019-10-02 20:57:09 -05:00
parent 484adfcda8
commit acdcb42e6d

View File

@ -296,9 +296,9 @@ def regression_engine(device, inputs, outputs, args, loss = torch.nn.MSELoss(),
return regressions return regressions
#@jit TODO: determine jit type #@jit TODO: determine jit type
def elo(starting_score): def elo(starting_score, observed, N, K):
pass
@jit(forceobj=True) @jit(forceobj=True)
def r_squared(predictions, targets): # assumes equal size inputs def r_squared(predictions, targets): # assumes equal size inputs