Learning from Interactions via Online Decision-making and Network Science