Interactive classification and clustering