adaptive icon indicating copy to clipboard operation
adaptive copied to clipboard

Promote AveragingLearner to LinearFitLearner

Open jbweston opened this issue 6 years ago • 2 comments

(original issue on GitLab)

opened by Anton Akhmerov (@anton-akhmerov) at 2017-09-06T09:31:46.601Z

A more advanced version of averaging would be performing a linear fit. The logic here should be largely similar, but instead of using the mean, we should use fit coefficients.

jbweston avatar Dec 19 '18 17:12 jbweston

originally posted by Bas Nijholt (@basnijholt) at 2018-05-29T19:42:12.834Z on GitLab

@anton-akhmerov I could really use this right now.

Could you perhaps elaborate on your ideas of how the LinearFitLearner would work?

jbweston avatar Dec 19 '18 17:12 jbweston

originally posted by Anton Akhmerov (@anton-akhmerov) at 2018-05-29T20:19:23.515Z on GitLab

You basically need to incrementally update this formula, so you need to accumulate a matrix of $\sum x_i x_i^T$ and $\sum x_i y_i^T$. For the error estimate you would need to store higher moments as well.

jbweston avatar Dec 19 '18 17:12 jbweston