class_docstr: This is a Params based class that is extended by _SparkXGBParams
  and holds the variable to store the boolean config of enabling sparse data optimization.
class_docstr_tok: ["This","is","a","Params","based","class","that","is","extended","by","_SparkXGBParams","and","holds","the","variable","to","store","the","boolean","config","of","enabling","sparse","data","optimization","."]
code: def __init__(self) -> None:
      super().__init__()
      self._setDefault(enable_sparse_data_optim=False)
  
file_path: xgboost/python-package/xgboost/spark/params.py
imports: from typing import Dict
  from pyspark.ml.param import TypeConverters
  from pyspark.ml.param.shared import Param, Params
label_desc: Use image node_id 1 to create a new HasEnableSparseDataOptim object from inherited base classes: Params with example: obj = HasEnableSparseDataOptim()