Enviar rexistro por email: A trainable clustering algorithm based on shortest paths from density peaks