code: def train(self, X, Y, Y_all):
      self.binarizer.fit(Y_all)
      X_train = [self.embeddings[x] for x in X]
      Y = self.binarizer.transform(Y)
      self.clf.fit(X_train, Y)
  
file_path: OpenNE/src/openne/classify.py
imports: from __future__ import print_function
  import numpy
  from sklearn.multiclass import OneVsRestClassifier
  from sklearn.metrics import f1_score
  from sklearn.preprocessing import MultiLabelBinarizer
  from time import time
label_desc: Use image node_id 2 for calling the Classifier obj's underlying member method code with example usage: obj.train(X, Y, Y_all) without return types