def inference(self, x, w, relaxed=None):
        self.inference_calls += 1
        return 2 * (np.dot(x, w) >= 0) - 1
Inference for x using parameters w.
dataset/ETHPy150Open pystruct/pystruct/pystruct/models/unstructured_svm.py/BinaryClf.inference