Fast, reliable, and comfortable transportation of people increase the level of livability in cities. It also influences people's quality of life. Therefore, research is needed to improve transportation services. Various models are developed to analyze the transportation services but each of them has its own advantages and disadvantages. Today, companies collect large amounts of data to improve their service quality. To survive in a competition environment, they must use the collected data to create value for their customers and employees. Many factors affect the transportation services. Therefore, it is difficult to solve the problems in transportation services using classical methods. The main goal of our study is to determine the bus ticket price accurately. In this study, the k-means algorithm, which is popular because of its simplicity and versatility, is firstly used to discover information that is more meaningful. Then the bus ticket price, which is one of the most important elements of passenger transportation, is forecasted using six different forecasting models including linear regression, support vector regression, regression tree, gaussian process regression, genetic algorithm based artificial neural network, and an ensemble model. The results of this study showed that proposed forecasting models can meet expectations in dynamic environmental conditions.