Machine learning algorithms for three-dimensional mean-curvature computation in the level-set method