Temporal hypergraph representation learning : from predicting future interactions in networks to anomaly detection in the human brain