sentence1: we implemented the algorithms in python using the stochastic gradient descent method for nmf from the scikit-learn package .
sentence2: to train the models we use the default stochastic gradient descent classifier provided by scikit-learn .