Persistent homology machine learning for fingerprint classification