A system and method for monitoring a characteristic of a material by measuring electrical or magnetic properties of the material. The system includes a material monitoring device having at least one electrode and at least one magnetic coil, and is in communication with a machine learning model trained to recognize characteristics of the material based on electrical and magnetic properties of the material. The material can be stimulated with an electrical stimulus or stimulating magnetic field, and an electrical response signal or magnetic response signal can be measured. Applications to monitoring water quality, beverages, foodstuffs, and other characteristics of materials is discussed.