§
    qŠtjè  ã                   óž   — d dl mZmZ e G d„ de¦  «        ¦   «         Ze G d„ dee¦  «        ¦   «         Ze G d„ dee¦  «        ¦   «         ZdS )	é    )ÚProtocolÚruntime_checkablec                   ó   — e Zd ZdZd„ Zd„ ZdS )Ú_BaseCallbackz Protocol for the base callbacks.c                 ó   — dS )aq  Method called at the beginning of the fit method of the estimator.

        For auto-propagated callbacks, this method is called only once, before running
        the fit method of the outermost estimator.

        Parameters
        ----------
        estimator : estimator instance
            The estimator calling this callback hook.

        context : `sklearn.callback.CallbackContext` instance
            Context of the corresponding task. This is usually the root context of the
            estimator but it can be an intermediate context if the estimator is a
            sub-estimator of a meta-estimator.
        N© ©ÚselfÚ	estimatorÚcontexts      úT/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/sklearn/callback/_base.pyÚsetupz_BaseCallback.setup   ó   € € € ó    c                 ó   — dS )an  Method called after finishing the fit method of the estimator.

        For auto-propagated callbacks, this method is called only once, after finishing
        the fit method of the outermost estimator.

        Parameters
        ----------
        estimator : estimator instance
            The estimator calling this callback hook.

        context : `sklearn.callback.CallbackContext` instance
            Context of the corresponding task. This is usually the root context of the
            estimator but it can be an intermediate context if the estimator is a
            sub-estimator of a meta-estimator.
        Nr   r	   s      r   Úteardownz_BaseCallback.teardown   r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r      s8   € € € € € à*Ð*ðð ð ð"ð ð ð ð r   r   c                   ó6   — e Zd ZdZdddddœd„Zdddddœd„ZdS )ÚFitCallbackzMProtocol for the callbacks evaluated on tasks during the fit of an estimator.N)ÚXÚyÚmetadataÚfitted_estimatorc                ó   — dS )að  Method called at the beginning of each fit task of the estimator.

        Parameters
        ----------
        estimator : estimator instance
            The estimator calling this callback hook.

        context : `sklearn.callback.CallbackContext` instance
            Context of the corresponding task.

        X : array-like
            The training data at this task.

        y : array-like
            The training target values at this task.

        metadata : dict
            Training metadata at this task, e.g. sample weights.

        fitted_estimator : estimator instance
            A new instance of the estimator that is ready to predict, transform, etc ...
            as if fit had stopped at the beginning of this task.
        Nr   ©r
   r   r   r   r   r   r   s          r   Úon_fit_task_beginzFitCallback.on_fit_task_begin2   r   r   c                ó   — dS )aj  Method called at the end of each fit task of the estimator.

        Parameters
        ----------
        estimator : estimator instance
            The estimator calling this callback hook.

        context : `sklearn.callback.CallbackContext` instance
            Context of the corresponding task.

        X : array-like
            The training data at this task.

        y : array-like
            The training target values at this task.

        metadata : dict
            Training metadata at this task, e.g. sample weights.

        fitted_estimator : estimator instance
            A new instance of the estimator that is ready to predict, transform, etc ...
            as if fit had stopped at the end of this task.

        Returns
        -------
        stop : bool
            Whether or not to stop the current level of iterations at this task.
        Nr   r   s          r   Úon_fit_task_endzFitCallback.on_fit_task_endT   r   r   )r   r   r   r   r   r!   r   r   r   r   r   .   si   € € € € € àWÐWð Ø
ØØð ð  ð  ð  ð  ðN Ø
ØØð%ð %ð %ð %ð %ð %ð %r   r   c                   ó(   — e Zd ZdZed„ ¦   «         ZdS )ÚAutoPropagatedCallbackzØProtocol for the auto-propagated callbacks

    An auto-propagated callback is a callback that is meant to be set on a top-level
    estimator and that is automatically propagated to its sub-estimators (if any).
    c                 ó   — dS )zÉThe maximum number of nested estimators at which the callback should be
        propagated.

        If set to None, the callback is propagated to sub-estimators at all nesting
        levels.
        Nr   )r
   s    r   Úmax_propagation_depthz,AutoPropagatedCallback.max_propagation_depth„   r   r   N)r   r   r   r   Úpropertyr%   r   r   r   r#   r#   |   s9   € € € € € ðð ð ðð ñ „Xðð ð r   r#   N)Útypingr   r   r   r   r#   r   r   r   ú<module>r(      sÜ   ðð /Ð .Ð .Ð .Ð .Ð .Ð .Ð .ð ð#ð #ð #ð #ð #�Hñ #ô #ñ Ôð#ðL ðJð Jð Jð Jð J�- ñ Jô Jñ ÔðJðZ ðð ð ð ð ˜]¨Hñ ô ñ Ôðð ð r   