class_docstr: Extends scikit-learn's LinearSVC class to provide confidence estimates.
      
class_docstr_tok: ["Extends","scikit-learn","'s","LinearSVC","class","to","provide","confidence","estimates","."]
code: def predict(self, x, return_proba=False):
      if return_proba:
          proba = self.predict_proba(x)
  
          target_class = np.argmax(proba, axis=1)
          return target_class, proba
      else:
          return super().predict(x)
  
imports: from abc import ABC, abstractmethod
  import numpy
  from sklearn.multiclass import OneVsRestClassifier
  from sklearn.preprocessing import normalize
  from sklearn.svm import LinearSVC
  from sklearn.utils.multiclass import is_multilabel
  from small_text.utils.classification import empty_result, prediction_result
  from small_text.utils.data import check_training_data
label_desc: Use image node_id 2 for calling the ConfidenceEnhancedLinearSVC obj's underlying member method code with example usage: obj.predict(x, return_proba) and returns: target_class,  proba, super