Functions for scoring with BigML anomaly detectiors. https://bigml.com/api/anomalyscores
Functions for scoring with BigML anomaly detectiors. https://bigml.com/api/anomalyscores
(create anomaly-detector inputs & params)
Creates an anomaly score from an anomaly detector and input data. A
detector can be represented through its id (e.g., anomaly/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/api/anomalyscores#as_anomaly_score_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 an anomaly score from an anomaly detector and input data. A detector can be represented through its id (e.g., `anomaly/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/api/anomalyscores#as_anomaly_score_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.
(detector anomaly-detector)
Returns the anomaly detector as a function for scoring locally. The returned function expects either a map of inputs (field ids to values), or a sequence of the input fields in the order they appeared during training.
The generated fn will also accept two optional boolean parameter which toggles whether to adjust the anomaly scores to take into account repeated points. When true, points that are repeated in the training data will be considered less anomalous.
Returns the anomaly detector as a function for scoring locally. The returned function expects either a map of inputs (field ids to values), or a sequence of the input fields in the order they appeared during training. The generated fn will also accept two optional boolean parameter which toggles whether to adjust the anomaly scores to take into account repeated points. When true, points that are repeated in the training data will be considered less anomalous.
(list & params)
Retrieves a list of anomaly scores. The optional parameters can include pagination and filtering options detailed here: https://bigml.com/api/anomalyscores#as_listing_anomaly_scores
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 anomaly scores. The optional parameters can include pagination and filtering options detailed here: https://bigml.com/api/anomalyscores#as_listing_anomaly_scores 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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close