keywords monte carlo methods; learning (artificial intelligence); optimisation; pattern classification