def delete_element(self):
    ' Delete an Item from the bucket list.\n\n        Deletes the last Item and updates relevant statistics kept by ADWIN.\n\n        Returns\n        -------\n        int\n            The bucket size from the updated bucket\n\n        '
    node = self.list_row_bucket.last
    n1 = self.bucket_size(self.last_bucket_row)
    self._width -= n1
    self._total -= node.get_total(0)
    u1 = (node.get_total(0) / n1)
    incremental_variance = (node.get_variance(0) + ((((n1 * self._width) * (u1 - (self._total / self._width))) * (u1 - (self._total / self._width))) / (n1 + self._width)))
    self._variance -= incremental_variance
    node.remove_bucket()
    self.bucket_number -= 1
    if (node.bucket_size_row == 0):
        self.list_row_bucket.remove_from_tail()
        self.last_bucket_row -= 1
    return n1
Delete an Item from the bucket list.

Deletes the last Item and updates relevant statistics kept by ADWIN.

Returns
-------
int
    The bucket size from the updated bucket
def delete_element(self):
    ' Delete an Item from the bucket list.\n\n        Deletes the last Item and updates relevant statistics kept by ADWIN.\n\n        Returns\n        -------\n        int\n            The bucket size from the updated bucket\n\n        '
    node = self.list_row_bucket.last
    n1 = self.bucket_size(self.last_bucket_row)
    self._width -= n1
    self._total -= node.get_total(0)
    u1 = (node.get_total(0) / n1)
    incremental_variance = (node.get_variance(0) + ((((n1 * self._width) * (u1 - (self._total / self._width))) * (u1 - (self._total / self._width))) / (n1 + self._width)))
    self._variance -= incremental_variance
    node.remove_bucket()
    self.bucket_number -= 1
    if (node.bucket_size_row == 0):
        self.list_row_bucket.remove_from_tail()
        self.last_bucket_row -= 1
    return n1