I don't know which algorithm precisely maya is using, but you can start by trying basic algorithms. E.g. for a given vertex, query the surrounding vertices, do an average of their weights, and that'll give you the new weight.
Check out different algorithms (laplacian/gaussian/inverse distance weighting/etc) and see what works for you.