Learning shapes
This example shows how to use PiShield for a classification task, where two rectangles R0 and R1 are used to define two different classes.
Task: train a neural network to learn two classes:
Class A is R0
Class B is the union of R0 and R1.
Training Data: 2500 points.
Requirement: Class A → Class B.