We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64b5126 commit 3a1d282Copy full SHA for 3a1d282
demo.py
@@ -45,6 +45,6 @@ def sqerr(matrix1, matrix2):
45
system_identifier.SystemIdentifier(XX[:SPLIT], YY[:SPLIT], RANK, REG)]):
46
print(' {}'.format(regressor))
47
training_error = sqerr(regressor.predict(XX[:SPLIT]), YY[:SPLIT])
48
- testing_error = sqerr(regressor.predict(XX[SPLIT+1:]), YY[SPLIT+1:])
+ testing_error = sqerr(regressor.predict(XX[SPLIT:]), YY[SPLIT:])
49
print(' Training error: {}\n Testing error: {}'
50
.format(training_error, testing_error))
0 commit comments