Realtime learning platform at the edge