Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 2ddedaa

Browse files
committed
Trying to get tests to pass on windows 32
1 parent 19e14d2 commit 2ddedaa

File tree

2 files changed

+2
-42
lines changed

2 files changed

+2
-42
lines changed
Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1 @@
1-
Forward Pass
2-
---------------------------------------------------------------
3-
iter parent var knot mse terms gcv rsq grsq
4-
---------------------------------------------------------------
5-
0 - - - 1.446276 1 1.449 0.000 0.000
6-
1 0 2 -1 1.337676 2 1.344 0.075 0.072
7-
2 0 1 -1 1.243145 3 1.253 0.140 0.135
8-
3 0 9 -1 1.231652 4 1.245 0.148 0.141
9-
4 0 7 -1 1.226752 5 1.244 0.152 0.142
10-
5 0 6 -1 1.224424 6 1.246 0.153 0.141
11-
6 0 5 -1 1.224378 7 1.249 0.153 0.138
12-
---------------------------------------------------------------
13-
Stopping Condition 2: Improvement below threshold
14-
15-
Pruning Pass
16-
--------------------------------------------
17-
iter bf terms mse gcv rsq grsq
18-
--------------------------------------------
19-
0 - 7 1.22 1.249 0.153 0.138
20-
1 6 6 1.22 1.246 0.153 0.141
21-
2 5 5 1.23 1.244 0.152 0.142
22-
3 4 4 1.23 1.245 0.148 0.141
23-
4 3 3 1.24 1.253 0.140 0.135
24-
5 2 2 1.34 1.344 0.075 0.072
25-
6 1 1 1.45 1.449 0.000 0.000
26-
--------------------------------------------
27-
Selected iteration: 2
28-
29-
Earth Model
30-
-------------------------------------
31-
Basis Function Pruned Coefficient
32-
-------------------------------------
33-
(Intercept) No -0.175087
34-
x2 No -0.324883
35-
x1 No 0.323321
36-
x9 No 0.107659
37-
x7 No -0.0704048
38-
x6 Yes None
39-
x5 Yes None
40-
-------------------------------------
41-
MSE: 1.2268, GCV: 1.2441, RSQ: 0.1518, GRSQ: 0.1415
1+
0.151785846961

pyearth/test/test_earth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def test_smooth():
206206
def test_linvars():
207207
earth = Earth(**default_params)
208208
earth.fit(X, y, linvars=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
209-
res = str(earth.trace()) + '\n' + earth.summary()
209+
res = str(earth.rsq_)
210210
filename = os.path.join(os.path.dirname(__file__),
211211
'earth_linvars_regress.txt')
212212
if regenerate_target_files:

0 commit comments

Comments
 (0)