docstr: Method fit model on a dataset
  
  :param train_data: data to train the model
docstr_tok: ["Method","fit","model","on","a","dataset",":","param","train_data",":","data","to","train","the","model"]
code: def fit(self, train_data):
      """Method fit model on a dataset
  
      :param train_data: data to train the model
      """
      self.classes = np.unique(train_data.target)
      self.model.fit(train_data.features, train_data.target)
      return self.model
  
file_path: FEDOT/fedot/core/operations/evaluation/operation_implementations/models/svc.py
imports: from typing import Optional
  import numpy
  from sklearn.multiclass import OneVsRestClassifier
  from sklearn.svm import SVC
  from fedot.core.operations.evaluation.operation_implementations.implementation_interfaces import ModelImplementation
  from fedot.core.operations.operation_parameters import OperationParameters
label_desc: Use image node_id 2 for calling the FedotSVCImplementation obj's underlying member method code with example usage: obj.fit(train_data) and returns: self