Showing 1 of 1 total issue
Method fit
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def fit(xs, ys, tran_x: ->(x) { x }, tran_y: ->(y) { y })
eps = (10 ** -10)
n = 0
sum_x = 0.0
sum_x2 = 0.0