Changeset 10577:c38df3c60a96 in orange
 Timestamp:
 03/19/12 22:26:52 (2 years ago)
 Branch:
 default
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

Orange/regression/linear.py
r10576 r10577 246 246 if weight: 247 247 weights = numpy.sqrt([float(ins[weight]) for ins in table]) 248 weights = weights.reshape(y.shape) 249 X = weights * X 248 X = weights.reshape(n, 1) * X 250 249 y = weights * y 251 250
Note: See TracChangeset
for help on using the changeset viewer.