This is a Python library (work in progress) for making predictions based on existing linear models. Currently, it supports logistic regression models that predict binary states.
pip install git+https://github.com/bmeg/make_prediction.git
import make_prediction
logistic_model = make_prediction.LogisticRegression([coef], intercept)
prediction = logistic_model(data)
- how to handle floating points?
- write test for logistic regression
predict_proba
- write test for logistic regression
decision_function
set up Travis-CI
- write
log_proba
function - write linear regression