Anomaly Detection with the BigML Dashboard

7.3 Using Anomalies via the BigML Bindings

You can also create and use anomalies via BigML bindings which are libraries aimed to make it easier to use the BigML API from your language of choice. BigML offers bindings in multiple languages including Python, Node.js, Java, Swift and Objective-C. You can find below an example to create an anomaly with the Python bindings.

from bigml.api import BigML
api = BigML()
anomaly = api.create_anomaly('dataset/57506c472275c1666b004b10')

For more information on BigML bindings, please refer to the bindings page.