sentence1: we implemented the algorithms in python using the stochastic gradient descent method for nmf from the scikit-learn package .
sentence2: we trained a linear log-loss model using stochastic gradient descent learning as implemented in the scikit learn library .