grad desc lin reg for housing and spam data