Whenever you manually flag a message as "Junk" or "Not Junk", the Mail filters will learn from your command and better identify what you consider as SPAM.
There is no need to switch modes to take advantage of Mail's learning capabilities.
Let me know if this helps !
© 2016, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.