Machine Learning Methods in the Environmental Sciences: Neural Networks and Kernels