Commands graph:/label_propagation¶
Classification on sparse data using Belief Propagation.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | graph:/label_propagation |
---|---|
arguments: | graph : Graph
prior_property : unicode
posterior_property : unicode
state_space_size : int32
edge_weight_property : unicode (default=)
convergence_threshold : float64 (default=0.0)
max_iterations : int32 (default=20)
was_labeled_property_name : unicode (default=None)
alpha : float32 (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.