Locally weighted polynomial regression