A supervised learning algorithm for interacting topological insulators based on local curvature