Machine-Learning Based Objective Function Selection for Community Detection