Learning to Retrofit in Living Laboratories