def fit(self) -> None:
        """Fit the density estimation models on the collected features.

        This method should be called after updating with all training features to
        fit the density estimators to the collected data.
        """
        if self.use_velocity_features:
            self.velocity_estimator.fit()
        if self.use_deep_features:
            self.appearance_estimator.fit()
        if self.use_pose_features:
            self.pose_estimator.fit()
Fit the density estimation models on the collected features.

        This method should be called after updating with all training features to
        fit the density estimators to the collected data.
        
src/anomalib/models/video/ai_vad/density.py