Liking cljdoc? Tell your friends :D
Clojure only.

bigml.api.centroid

Offers functions specific for BigML centroids. https://bigml.com/developers/centroids.

Offers functions specific for BigML centroids.
https://bigml.com/developers/centroids.
raw docstring

createclj

(create cluster inputs & params)

Creates a centroid from a cluster. A cluster can be represented through its id (e.g., cluster/123123), or a map as returned by get or list.

The inputs may either be a map (field ids to values), or a sequence of the inputs fields in the order they appeared during training.

Accepts the optional creation parameters described in the BigML API docs: https://bigml.com/developers/centroids#ct_centroid_arguments

HTTP response information is attached as meta data. Exceptions are thrown on failure unless :throw-exceptions is set to false (default is true), in which case the HTTP response details are returned as a map on failure.

Creates a centroid from a cluster. A cluster can be represented through its
id (e.g., `cluster/123123`), or a map as returned by `get` or `list`.

 The inputs may either be a map (field ids to values), or a
 sequence of the inputs fields in the order they appeared during
 training.

Accepts the optional creation parameters described in the BigML API docs:
   https://bigml.com/developers/centroids#ct_centroid_arguments

HTTP response information is attached as meta data. Exceptions are thrown
on failure unless :throw-exceptions is set to false (default is true),
in which case the HTTP response details are returned as a map on failure.
sourceraw docstring

listclj

(list & params)

Retrieves a list of centroids. The optional parameters can include pagination and filtering options detailed here: https://bigml.com/developers/centroids#ct_listing_centroids

Pagination details are returned as meta data attached to the list, along with the HTTP response information. Exceptions are thrown on failure unless :throw-exceptions is set to false (default is true), in which case the HTTP response details are returned in a map on failure.

Retrieves a list of centroids. The optional parameters can include
pagination and filtering options detailed here:
   https://bigml.com/developers/centroids#ct_listing_centroids

Pagination details are returned as meta data attached to the list, along
with the HTTP response information. Exceptions are thrown on failure unless
:throw-exceptions is set to false (default is true), in which case the
HTTP response details are returned in a map on failure.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close