def METHOD_NAME(self, num_atts):
    """Check the values of parameters inserted into HOG1D.
    Throws
    ------
    ValueError or TypeError if a parameters input is invalid.
    """
    if isinstance(self.num_intervals, int):
        if self.num_intervals <= 0:
            raise ValueError(
                "num_intervals must have \
                              the value of at least 1"
            )
        if self.num_intervals > num_atts:
            raise ValueError(
                "num_intervals cannot be higher \
                              than subsequence_length"
            )
    else:
        raise TypeError(
            "num_intervals must be an 'int'. \
                        Found '"
            + type(self.num_intervals).__name__
            + "' instead."
        )
    if isinstance(self.num_bins, int):
        if self.num_bins <= 0:
            raise ValueError(
                "num_bins must have the value of \
                              at least 1"
            )
    else:
        raise TypeError(
            "num_bins must be an 'int'. Found '"
            + type(self.num_bins).__name__
            + "' \
                        instead."
        )
    if not isinstance(self.scaling_factor, numbers.Number):
        raise TypeError(
            "scaling_factor must be a 'number'. \
                        Found '"
            + type(self.scaling_factor).__name__
            + "' instead."
        )