Modeling sequential and basket-oriented associations for top-K recommendation