A experimental implementation for logistic regression