<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_dataset(self, dataset_name):
 """ Deletes the dataset having the specified name :param dataset_name: the name that the dataset has on the repository :return: None """

        url = self.address + "/datasets/" + dataset_name
        header = self.__check_authentication()
        response = requests.delete(url, headers=header)
        if response.status_code != 200:
            raise ValueError("Code {}: {}".format(response.status_code, response.json().get("error")))
        self.logger.debug("Dataset {} was deleted from the repository".format(dataset_name))