Network classifiers based on social learning