code: def test_prediction_proba_linear_confidence(self):
      pred_proba, confidence = self.clf.predict_proba(
          self.X_test, method="linear", return_confidence=True
      )
      assert pred_proba.min() >= 0
      assert pred_proba.max() <= 1
  
      assert_equal(confidence.shape, self.y_test.shape)
      assert confidence.min() >= 0
      assert confidence.max() <= 1
  
imports: from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import unittest
  from numpy.testing import assert_allclose
  from numpy.testing import assert_array_less
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises
  from scipy.stats import rankdata
  from sklearn.base import clone
  from sklearn.metrics import roc_auc_score
  from pyod.models.ocsvm import OCSVM
  from pyod.utils.data import generate_data
label_desc: Use image node_id 11 for calling the TestOCSVM obj's underlying member method code with example usage: obj.test_prediction_proba_linear_confidence() without return types