So you want the algorithm to take data sets and find something that is ideally profitable? deep learning? Maybe see what these people do if it helps.
https://www.youtube.com/c/DeepMind/videos
agreed that it is used less and less as python's analytic libraries have grown. However, if you need a nice calculator with every statistical idea under the sun R studio is good
did you read the article and think.
"Researchers found a large share of the 2,050 consumers surveyed expects to retire in debt"
who were these 2050 consumers?