class_docstr: Parent class for checks that only use a model and no datasets.
class_docstr_tok: ["Parent","class","for","checks","that","only","use","a","model","and","no","datasets","."]
docstr: Run check.
  
  Parameters
  ----------
  model: BasicModel
      A scikit-learn-compatible fitted estimator instance
  {additional_context_params:2*indent}
docstr_tok: ["Run","check",".","Parameters","--","--","--","--","--","model",":","BasicModel","A","scikit-learn-compatible","fitted","estimator","instance","{","additional_context_params:2","*","indent","}"]
code: def run(
      self,
      model: BasicModel,
      feature_importance: Optional[pd.Series] = None,
      feature_importance_force_permutation: bool = False,
      feature_importance_timeout: int = 120,
      with_display: bool = True,
      y_pred_train: Optional[np.ndarray] = None,
      y_pred_test: Optional[np.ndarray] = None,
      y_proba_train: Optional[np.ndarray] = None,
      y_proba_test: Optional[np.ndarray] = None,
  ) -> CheckResult:
      """Run check.
  
      Parameters
      ----------
      model: BasicModel
          A scikit-learn-compatible fitted estimator instance
      {additional_context_params:2*indent}
      """
      assert self.context_type is not None
      context = self.context_type(
          model=model,
          feature_importance=feature_importance,
          feature_importance_force_permutation=feature_importance_force_permutation,
          feature_importance_timeout=feature_importance_timeout,
          y_pred_train=y_pred_train,
          y_pred_test=y_pred_test,
          y_proba_train=y_proba_train,
          y_proba_test=y_proba_test,
          with_display=with_display,
      )
      result = self.run_logic(context)
      context.finalize_check_result(result, self)
      return result
  
imports: import abc
  import warnings
  from typing import List, Mapping, Optional, Union
  import numpy
  import pandas
  from deepchecks.core.check_result import CheckFailure, CheckResult
  from deepchecks.core.checks import BaseCheck, DatasetKind, ModelOnlyBaseCheck, SingleDatasetBaseCheck, TrainTestBaseCheck
  from deepchecks.core.errors import DeepchecksNotSupportedError, DeepchecksValueError
  from deepchecks.tabular import deprecation_warnings
  from deepchecks.tabular._shared_docs import docstrings
  from deepchecks.tabular.context import Context
  from deepchecks.tabular.dataset import Dataset
  from deepchecks.tabular.model_base import ModelComparisonContext
  from deepchecks.utils.typing import BasicModel
label_desc: Use image node_id 1 for calling the ModelOnlyCheck obj's underlying member method code with example usage: obj.run(model, feature_importance, feature_importance_force_permutation, feature_importance_timeout, with_display, y_pred_train, y_pred_test, y_proba_train, y_proba_test) and returns: result