§
    qŠtjª  ã                   ó   — dd„Z dd„Zd S )Nc                 ó’  — |€dt          | d¦  «        r/t          | j        d¦  «        r| j                             ¦   «         }nId„ t          | j        d         ¦  «        D ¦   «         }n$t          |d¦  «        r|                     ¦   «         }t          t          |¦  «        ¦  «        t          |¦  «        k    rt          d¦  «        ‚|S )a(  Check feature names.

    Parameters
    ----------
    X : array-like of shape (n_samples, n_features)
        Input data.

    feature_names : None or array-like of shape (n_names,), dtype=str
        Feature names to check or `None`.

    Returns
    -------
    feature_names : list of str
        Feature names validated. If `feature_names` is `None`, then a list of
        feature names is provided, i.e. the column names of a pandas dataframe
        or a generic list of feature names (e.g. `["x0", "x1", ...]`) for a
        NumPy array.
    NÚcolumnsÚtolistc                 ó   — g | ]}d |› �‘ŒS )Úx© )Ú.0Úis     úZ/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/sklearn/inspection/_pd_utils.pyú
<listcomp>z(_check_feature_names.<locals>.<listcomp>   s   € Ð@Ð@Ð@¨˜W ˜W˜WÐ@Ð@Ð@ó    é   z,feature_names should not contain duplicates.)Úhasattrr   r   ÚrangeÚshapeÚlenÚsetÚ
ValueError)ÚXÚfeature_namess     r
   Ú_check_feature_namesr      sÇ   € ð& ÐÝ�1�iÑ Ô ð 	A¥W¨Q¬Y¸Ñ%AÔ%Að 	AàœI×,Ò,Ñ.Ô.ˆMˆMð AÐ@­e°A´G¸A´JÑ.?Ô.?Ð@Ñ@Ô@ˆMˆMÝ	� Ñ	)Ô	)ð /à%×,Ò,Ñ.Ô.ˆÝ
�3ˆ}ÑÔÑÔ¥# mÑ"4Ô"4Ò4Ð4ÝÐGÑHÔHÐHàÐr   c                 óÒ   — t          | t          ¦  «        rQ|€t          d| ›d�¦  «        ‚	 |                     | ¦  «        S # t          $ r}t          d| ›d�¦  «        |‚d}~ww xY w| S )a  Get feature index.

    Parameters
    ----------
    fx : int or str
        Feature index or name.

    feature_names : list of str, default=None
        All feature names from which to search the indices.

    Returns
    -------
    idx : int
        Feature index.
    Nz+Cannot plot partial dependence for feature z† since the list of feature names was not provided, neither as column names of a pandas data-frame nor via the feature_names parameter.zFeature z not in feature_names)Ú
isinstanceÚstrr   Úindex)Úfxr   Úes      r
   Ú_get_feature_indexr   (   s£   € õ  �"•cÑÔð LØÐ Ýð¸bð ð ð ñô ð ð	LØ ×&Ò& rÑ*Ô*Ð*øÝð 	Lð 	Lð 	LÝÐC¨ÐCÐCÐCÑDÔDÈ!ÐKøøøøð	Løøøà€Is   ¬A Á
A$ÁAÁA$)N)r   r   r   r   r
   ú<module>r      s8   ðð
 ð  ð  ð  ðFð ð ð ð ð r   