>The solution is made clear then - just learn how to not be mentally ill! Again, convenient. But not really reflective of reality.
And you know this because?
Cutting edge theories of depression link it to alterations in the reward learning system. There is some evidence that training persons with depression to attend to certain aspects of the reward learning mechanism can reduce depressive symptomology [I am involved in this research]. But speaking more broadly, cognitive behavioral therapy, one of the most successful non-pharmaceutical treatments for depression, involves people "learning how not to be depressed" by unlearning problematic patterns of negative thinking and coping with negative events: first by recognizing what those problematic thoughts and behaviors are, and working to adjust those ... to move you out of that basin.
The main issue with this article imo is that it does not consider the meta-problem: how the reinforcement learning system can be altered by experience as well.