Guardiola brought on Gabriel Jesus to partner Sergio Aguero in attack for the second half, with Kevin de Bruyne operating deeper in midfield.
"I learned to attack a bit differently," said Guardiola.
"Normally we don't play with two strikers and two wingers. Maybe to attack this kind of defence it is much better.
"They didn't want to play. When they lost the ball, they didn't press. They just went back with 10 players in the box. It has happened the last three games. It is almost impossible."
Last Sunday, City rallied to win 2-1 after conceding the opening goal at Huddersfield before netting a late winner against Southampton at home three days later.
In both those games, Raheem Sterling got the late gaol but on Sunday it was David Silva who scored in the 83rd minute after Nicolas Otamendi cancelled out Angelo Ogbonna's goal for West Ham.
Victory meant Guardiola's side re-established their eight-point lead over Manchester United, who they play at Old Trafford on Sunday (16:30 GMT).
City's victory also equalled the longest winning run within a top-flight season, matching Sunderland and Preston (1891-92), Arsenal (2001-02) and Chelsea (2016-17). SHARE YOUR STORY WITH US VIA EMAIL: INFO@247NIGERIANEWSUPDATE.CO RECEIVE NEWS VIA OUR WHATSAPP, KINDLY TEXT +234 701 056 0394 TO ADD YOU CLICK HERE TO JOIN US ON OUR YOUTUBE CHANNEL FOR NEWS UPDATE CLICK HERE TO JOIN US ON TWITTER FOR INSTANT NEWS UPDATE: @247NGNEWSUPDATE CLICK HERE TO JOIN MILLIONS AROUND THE GLOBE TO READ NEWS ON OUR FACEBOOK FAN PAGE FOR INSTANT UPDATES ON INSTAGRAM CLICK HERE RECEIVE INSTANT NEWS UPDATE VIA OUR BBM BROADCAST: D3EDEFDF PLACE YOUR TEXT ADVERT BELOW:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>