Cluster Analysis with the BigML Dashboard

8.4 Using Clusters via the BigML Bindings

BigML bindings provide a convenient way to access the BigML REST API from your language of choice. They offer a higher-level view of BigML Machine Learning resources and algorithms in a number of languages, including Python, Node.js, Java, Swift, and Objective-C. For example, this is how you can create a cluster in Python using BigML bindings:

from bigml.api import BigML
api = BigML()
prediction = api.create_cluster("dataset/573d997058a27e0f620038df",
                                "range": [1, 10],
                                {"name": "my cluster"})

For more information on using clusters through the BigML API, please refer to BigML bindings documentation.