pyconstruct.learners.StructuredPerceptron.predict¶
-
StructuredPerceptron.
predict
(X, *args, **kwargs)¶ Computes the prediction of the current model for the given input.
Parameters: X (numpy.ndarray) – An array of input examples. The first dimension must be the number of samples. Returns: The array of predicted objects. Return type: numpy.ndarray