Added code for ILS.
The description is not complete, but we have an implementation of the iterated least squares.
This commit is contained in:
@@ -52,7 +52,14 @@ def figsize(x,y):
|
||||
yield
|
||||
reset_axis()
|
||||
|
||||
|
||||
@contextmanager
|
||||
def numpy_precision(precision):
|
||||
old = np.get_printoptions()['precision']
|
||||
np.set_printoptions(precision=precision)
|
||||
yield
|
||||
np.set_printoptions(old)
|
||||
|
||||
|
||||
def _decode_list(data):
|
||||
rv = []
|
||||
for item in data:
|
||||
|
||||
Reference in New Issue
Block a user