Portrait Analytics raised $7 million in new funding to bring its machine learning technology into the investment world.