Application of uncertainty quantification to Artificial intelligence