This is the source code of paper "Feature-based POI Grouping with Transformer for Next POI Recommendation".