Changeset 10855:2ecaf1775170 in orange for Orange/regression/earth.py
 Timestamp:
 04/30/12 13:13:08 (2 years ago)
 Branch:
 default
 rebase_source:
 6b92c2c4b881566edc2adcb3cf8fc93f037b1e76
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

Orange/regression/earth.py
r10775 r10855 222 222 if self.scale_resp and y.shape[1] == 1: 223 223 sy = y  numpy.mean(y, axis=0) 224 sy = sy / numpy.std(sy, axis= 1)224 sy = sy / numpy.std(sy, axis=0) 225 225 else: 226 226 sy = y … … 603 603 if (numpy.var(y, axis=0) <= 1e8).any(): 604 604 raise ValueError("Variance of y is zero (or near zero).") 605 605 606 606 _c_forward_pass_(ctypes.byref(n_term), full_set, bx, dirs, cuts, 607 607 n_factors_in_terms, n_uses, x, y, weights, n_cases,
Note: See TracChangeset
for help on using the changeset viewer.