In this study, we aimed at optimizing the operation of the upper floor hammering sound inspection of the subway tunnel, we tried to construct a model for discriminating and spalling based on data analysis. In the analysis, the discrimination results were evaluated using random forests, and linear regression for data such as specifications and inspections. Using this result, we considered the efficiency of hammering sound inspection.