x : tuple
Instance of a graph with unary evidence. x=(unaries, edges) unaries are an nd-array of shape (n_nodes, n_features), edges are an nd-array of shape (n_edges, 2)
y : ndarray, shape (n_nodes,)
Ground truth labeling relative to which the loss will be measured.
w : ndarray, shape=(size_joint_feature,)
Parameters for the CRF energy function.
relaxed : bool, default=False
Whether relaxed inference should be performed. Only meaningful if inference method is ‘lp’ or ‘ad3’. By default fractional solutions are rounded. If relaxed=True, fractional solutions are returned directly.
return_energy : bool, default=False
Whether to return the energy of the solution (x, y) that was found.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4