def create_anomaly(self, datasets, args=None, wait_time=3, retries=10):
        create_args = self._set_create_from_datasets_args(
            datasets, args=args, wait_time=wait_time, retries=retries)

        body = json.dumps(create_args)
        return self._create(self.anomaly_url, body)
Creates an anomaly detector from a `dataset` or a list o `datasets`.
dataset/ETHPy150Open bigmlcom/python/bigml/anomalyhandler.py/AnomalyHandler.create_anomaly