An electronic apparatus, a warning message providing method thereof, and a non-transitory computer readable recording medium are provided. The resent disclosure relates to an artificial intelligence (AI) system which utilizes a machine learning algorithm such as deep learning or the like, and an application thereof. According to an embodiment of the present invention, the electronic apparatus comprises: a position determination unit for determining a current position of the electronic apparatus; a communication unit for receiving accident data and a driving situation; an output unit for outputting a warning message; and a processor for building a plurality of accident prediction models by learning the received accident data, selecting an accident prediction model to apply among the plurality of accident prediction models based on the determined current position, determining an accident occurrence possibility by using the selected accident prediction model, and controlling the output unit to provide the warning message when the determined accident occurrence possibility is higher than or equal to a preset value. Therefore, a similar accident can be prevented.
ELECTRONIC APPARATUS ALERT MESSAGE PROVIDING METHOD OF THEREOF AND NON-TRANSITORY COMPUTER READABLE RECORDING MEDIUM