1. A method comprising: receiving, by an electrode of a device, a signal from a body of a user, the signal based on an electromagnetic interference signal generated by an object that is external to the device; and determining, by a computing device, one or more of the following based on machine learning applied to the received signal: an identity of the object; an interaction between the user and the object; or a context surrounding the device.