The transformation of all-optical networks is an important task for communication operators to meet the needs of the new diversified comprehensive information services. The service experience of users was affected by quality of the network directly, network operation and maintenance is an important task of operation. This paper focus on the application of machine learning technology in network operation and maintenance quality analysis; automatically determine fault points by training historical network performance indicators and status data. The method proposed can predict the location of faults, improve the quality and efficiency of PON maintenance and reduce daily maintenance workload. Through practical, the solution proposed has demonstrated feasibility and can provide reference for the construction of intelligent operation and maintenance platforms for network operators.