diff --git a/examples/graph_sage_unsup_ppi.py b/examples/graph_sage_unsup_ppi.py index 87a53a15287c..dd085dfe5d98 100644 --- a/examples/graph_sage_unsup_ppi.py +++ b/examples/graph_sage_unsup_ppi.py @@ -79,7 +79,7 @@ def test(): # Train classifier on training set: x, y = encode(train_loader) - clf = MultiOutputClassifier(SGDClassifier(loss='log', penalty='l2')) + clf = MultiOutputClassifier(SGDClassifier(loss='log_loss', penalty='l2')) clf.fit(x, y) train_f1 = f1_score(y, clf.predict(x), average='micro')