sentence1: we used the logistic regression implementation in scikit-learn for the maximum entropy models in our experiments .
sentence2: we implemented the algorithms in python using the stochastic gradient descent method for nmf from the scikit-learn package .