Tag advanced statistics for machine learning