Novel Measures on Directed Graphs and Applications to Large-Scale Within-Network Classification by