code: def test_data_initialization() -> None:
      from sklearn.datasets import load_digits
  
      X, y = load_digits(return_X_y=True)
      validate_data_initialization(
          xgb.QuantileDMatrix, xgb.XGBClassifier, X, y
      )
  
imports: import json
  import os
  import pickle
  import random
  import tempfile
  import warnings
  from typing import Callable, Optional
  import numpy
  import pytest
  from sklearn.utils.estimator_checks import parametrize_with_checks
  import xgboost
  from xgboost import testing
  from xgboost.testing.ranking import run_ranking_categorical, run_ranking_qid_df
  from xgboost.testing.shared import get_feature_weights, validate_data_initialization
  from xgboost.testing.updater import get_basescore
label_desc: Use image node_id 47 for calling a global function with example usage: test_data_initialization() without return types