File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -499,8 +499,8 @@ def get_decay_rate(iteration_index, data_len):
499499 if fixed_points :
500500 for k in fixed_points .keys ():
501501 if not isinstance (k , int ):
502- raise TypeError (f'fixed points indexes must ' +
503- 'be integers.' )
502+ raise TypeError (f'fixed points indexes must ' +
503+ 'be integers.' )
504504 if k >= len (data ) or k < 0 :
505505 raise ValueError (f'an index of a fixed point ' +
506506 'cannot be grater than len(data)' +
@@ -953,7 +953,6 @@ def test_train_fixed_points(self):
953953 som .train (data , 10 , fixed_points = {- 1 : (0 , 0 )})
954954 with self .assertRaises (TypeError ):
955955 som .train (data , 10 , fixed_points = {'oops' : (0 , 0 )})
956-
957956
958957 def test_use_epochs_variables (self ):
959958 len_data = 100000
You can’t perform that action at this time.
0 commit comments