
    Mpj                     "    S r SSKrSSKJr  S rg)z(Control sparse interface based on config    N)
get_configc                    [         R                  R                  U 5      (       d  U $ [        5       S   nUS:X  aS  [         R                  R	                  U 5      (       a-  [        [         R                  U R                  S-   5      " U 5      $ U $ US:X  aS  [         R                  R	                  U 5      (       a  U $ [        [         R                  U R                  S-   5      " U 5      $ [        SU S35      e)z
Convert to sparse interface as set in config.

Input can be dense or sparse.
If sparse, convert to sparse_interface indicated by get_config.
Otherwise, return X unchanged.
sparse_interfacesparray_arrayspmatrix_matrixzConfig "sparse_interface" is z.. It should be either "sparray" or "spmatrix".)spsparseissparser   
isspmatrixgetattrformat
ValueError)Xconfig_sparse_interfaces     Q/var/www/html/pdf-tiff/venv/lib/python3.13/site-packages/sklearn/utils/_sparse.py_align_api_if_sparser      s     99a  (l+=> )+99""299ahh&9:1==	 J	.99""Hryy!((Y"67::+,C+D E; ;
 	
    )__doc__scipyr
   sklearn._configr   r    r   r   <module>r      s    .
  &
r   