Phase diagram of a disordered higher-order topological insulator: A machine learning study