From purchase, usage, to upgrade — Consumer analytics using large scale transactional data