In [9]:
# Set the input values for the training examples
xs = [
    [2.0, 3.0, -1.0],
    [3.0, -1.0, 0.5],
    [0.5, 1.0, 1.0],
    [1.0, 1.0, -1.0],
]

# Set the desired target values for the training examples
ys = [1.0, -1.0, -1.0, 1.0]

# Training data:
# xs[0] corresponds to ys[0]
# xs[1] corresponds to ys[1]
# xs[2] corresponds to ys[2]
# xs[3] corresponds to ys[3]