Risk And Reliability Analysis For Oil And Gas Pipelines Using Data-Driven Methods