Ticket #1115 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Ridge regression without intercept bug

Reported by: lanz Owned by: lanz
Milestone: 2.5 Component: library
Severity: minor Keywords:
Cc: lan Blocking:
Blocked By:

Description

Orange.regression.linear.LinearRegressionLearner does not work when using ridge_lambda and setting intercept to False.

Change History

comment:1 Changed 3 years ago by Lan Zagar <lan.zagar@…>

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 3 years ago by lanz

I corrected the value of m, when adding a column of constants for intercept.

Computing the coefficient of determination also uses m. This should be checked in case it has to be corrected after my update of m.

Lan, I think that is your code, so could you check if it is ok now.

comment:3 Changed 3 years ago by Lan Zagar <lan.zagar@…>

In [5af235500ac2f80744818979b9005808babb898e/orange]:

Better solution for intercept (see #1115).

Note: See TracTickets for help on using tickets.