class_docstr: Check various non-sklearn estimators to see if the wrapper works for them
class_docstr_tok: ["Check","various","non-sklearn","estimators","to","see","if","the","wrapper","works","for","them"]
docstr: Validate xgboost regressor without wrapper
docstr_tok: ["Validate","xgboost","regressor","without","wrapper"]
code: def test_xgboost_regressor_unwrapped(self):
      """
      Validate xgboost regressor without wrapper
      """
      X, y = make_regression(
          n_samples=500,
          n_features=22,
          n_informative=8,
          random_state=8311982,
      )
      X_train, X_test, y_train, y_test = tts(X, y)
  
      model = xgb.XGBRFRegressor()
      oz = residuals_plot(
          model, X_train, y_train, X_test, y_test, show=False
      )
      assert is_fitted(oz)
  
imports: import pytest
  from yellowbrick.contrib.wrapper import *
  from yellowbrick.regressor import residuals_plot
  from yellowbrick.classifier import classification_report
  from yellowbrick.exceptions import YellowbrickAttributeError
  from yellowbrick.utils.helpers import get_model_name, is_fitted
  from yellowbrick.utils.types import is_estimator, is_probabilistic
  from yellowbrick.utils.types import is_classifier, is_clusterer, is_regressor
  from sklearn.base import is_regressor
  from sklearn.base import is_classifier
  from sklearn.model_selection import train_test_split
  from sklearn.datasets import make_classification, make_regression
  from sklearn.base import is_outlier_detector
label_desc: Use image node_id 2 for calling the TestNonSklearnEstimators obj's underlying member method code with example usage: obj.test_xgboost_regressor_unwrapped() without return types