Tag classification of magnetism