AI program analyzes data about seniors’ daily routines to find patterns that point to the possibility of depression.