A Comparison of Explicit and Implicit Graph Embedding Methods for Pattern Recognition