Text this: Improved density peak clustering with a flexible manifold distance and natural nearest neighbors for network intrusion detection