Non-asymptotic performance of social machine learning under limited data