Machine learning & broader applications on businesses with log data