numpy implementation of mere and locally-weighted logistic regression for binary classification problem.