jpi: adding realtime learning
jpi: adding realtime learning