A solution for evaluating a medium using electrical signals is described. A plurality of electrical signals having different frequencies are transmitted through the medium and signal data corresponding to the electrical signals after having traveled through the medium is acquired. A complex impedance and a complex permittivity and/or complex conductivity can be calculated for the medium. A set of characteristics of the medium can be computed using mixing models and/or known information of the medium. A level of one or more attributes of the medium can be determined from the characteristics using nonparametric Bayesian inference. One particular application is directed to determining a nitrate level of soil.
展开▼