Modelling the mechanical behaviour of soils using machine learning algorithms with explicit formulations