Commands graph/ml/belief_propagation¶
Classification on sparse data using Belief Propagation.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | graph/ml/belief_propagation |
---|---|
arguments: | graph : <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e68702050>>
prior_property : unicode
posterior_property : unicode
edge_weight_property : unicode (default=None)
convergence_threshold : float64 (default=None)
max_iterations : int32 (default=None)
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
Belief propagation by the sum-product algorithm. This algorithm analyzes a graphical model with prior beliefs using sum product message passing. The priors are read from a property in the graph, the posteriors are written to another property in the graph. This is the GraphX-based implementation of belief propagation.
See Loopy Belief Propagation for a more in-depth discussion of BP and LBP.
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.