def __init__(self, order=4):
        """Initialize the object.

        Args:
            order (int): autoregressive order
        """
        self.signal = None
        self.covar = None
        self.min_size = max(5, order + 1)
        self.order = order
Initialize the object.

        Args:
            order (int): autoregressive order
        
src/ruptures/costs/costautoregressive.py