A Trainable Centrality Framework for Modern Data