Essays on artificial intelligence in personalized markets