An Svm Ranking Approach To Stress Assignment