Machine learning: 3. Equivariance and invariance