Skip to content

Commit d984537

Browse files
Anton BjörklundAggrathon
Anton Björklund
authored andcommitted
replace get_params
1 parent e5aa0b9 commit d984537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_slise.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def test_slise_reg():
124124
X, Y, epsilon=0.1, lambda1=1e-4, lambda2=1e-4, intercept=True, normalise=True
125125
)
126126
reg1.print()
127-
Yp = mat_mul_inter(X, reg1.get_params())
127+
Yp = mat_mul_inter(X, reg1.coefficients)
128128
Yn = reg1._scale.scale_y(Y)
129129
Ynp = mat_mul_inter(reg1._scale.scale_x(X), reg1._alpha)
130130
Ypn = reg1._scale.scale_y(Yp)

0 commit comments

Comments
 (0)