Lock in learning

We would like to share this small code snippet regarding lock-in feedback and the opportunity of using it for (online) learning of supervised learning models. For more info please see: https://www.nature.com/articles/palcomms201682 and its supplementary materials. However, linRegLif is an R script that nicely demonstrates some of the possibilities. Note that this depends on the S4 class for Lock-in Feedback: lifclass.