Which would be the best method of training?

Sort:
Avatar of Cynicalism

A. Playing against people of equal/higher rank and analyzing the game afterwards

B. Playing against a hard computer (ex: carlsen app) and analyzing the game afterwards

Avatar of TournamentPlayer

Playing people for sure, as the higher rated oppoenets can give  you ideas as to why you lost and how to improve.