Skip to content

Commit e04bbf4

Browse files
committed
Small corrections
1 parent 7e61534 commit e04bbf4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ezyrb/reducedordermodel.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ def reconstruction_error(self, db=None, relative=True, eps=1e-12):
338338
>>> rbf = RBF()
339339
>>> rom = ROM(db_train, pod, rbf)
340340
>>> rom.fit()
341-
>>> err_train = rom.reconstruction_error(relative=True)
342-
>>> err_rec = rom.reconstruction_error(db_test, relative=True)
341+
>>> err_train_reduct = rom.reconstruction_error(relative=True)
342+
>>> err_test_reduct = rom.reconstruction_error(db_test, relative=True)
343343
"""
344344

345345
errs = []
@@ -388,9 +388,9 @@ def approximation_error(self, db=None, relative=True, eps=1e-12):
388388
>>> rbf = RBF()
389389
>>> rom = ROM(db_train, pod, rbf)
390390
>>> rom.fit()
391-
>>> err_train = rom.approximation_error(relative=True)
392-
>>> err_approx = rom.approximation_error(db_test, relative=True)
393-
391+
>>> err_train_approx = rom.approximation_error(relative=True)
392+
>>> err_test_approx = rom.approximation_error(db_test, relative=True)
393+
394394
"""
395395
errs = []
396396
if db is None:

0 commit comments

Comments
 (0)