Linear regression in astronomy. II | Synapse