A Gröbner basis criterion for birational equivalence of affine varieties Log canonical threshold of Vandermonde matrix type singularities and generalization error of a three-layered neural network in Bayesian estimation 