          samples. If not provided,
            then each sample is given unit weight.

        Returns
        -------
        self : object
            Returns self.
        z~loss='%s' has been deprecated in favor of loss='%s' as of 0.16. Backward compatibility for the loss='%s' will be removed in %s