Changeset 10436:4f0183f5f4f2 in orange for Orange/regression/linear.py
 Timestamp:
 03/05/12 19:03:16 (2 years ago)
 Branch:
 default
 rebase_source:
 3d409cbe787f29218371d4ae07480b5a5c8b1a12
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

Orange/regression/linear.py
r10431 r10436 260 260 cov = pinv(dot(dot(X.T, W), X)) 261 261 else: 262 cov = pinv(dot(dot(X.T, W), X) self.ridge_lambda * numpy.eye(m))262 cov = pinv(dot(dot(X.T, W), X) + self.ridge_lambda * numpy.eye(m)) 263 263 # TODO: find inferential properties of the estimators 264 264 compute_stats = False
Note: See TracChangeset
for help on using the changeset viewer.