Due to the complexity of pricing in service industry, it is important to provide an efficient pricing framework for real-life and large-sized applications. To this end, we combined an optimization approach with a regression-based machine learning method to provide a reliable and efficient framework for integrated pricing and train formation problem under hybrid uncertainty. To do so, firstly, a regression-based machine learning model is applied to forecast the ticket price of the passenger railway and then, the obtained price in is used as the input of a train formation optimization model. Further, in order to deal with the hybrid uncertainty of demand parameter, a robust fuzzy stochastic programming model is proposed. Finally, a real transportation network from the Iran railway is applied to demonstrate the efficiency of the proposed model. The analysis of numerical results indicated that the proposed framework is able to state the optimal price with less complexity in comparison to traditional models.