A binary classifier based on a reconfigurable dense network of metallic nanojunctions