We strive to build a predictive model to estimate risk of postoperative knee pain in patients undergoing total knee replacement.