Using An Agent Based Model And Deep Learning To Simulate And Infer Market Behavior On Networks