Learning mean framework