Patent attributes
An electronic device and a method for controlling the same are disclosed. The method for controlling an electronic device according to the present disclosure comprises the steps of: detecting at least one user and acquiring user information of the detected at least one user; determining a user mode on the basis of the acquired user information; determining a service to be provided to the detected at least one user, by inputting the user information and the determined user mode as input data to a model learned by an artificial intelligence algorithm; and providing the determined service corresponding to the user mode. A method for providing the service by the electronic device may at least partially use an artificial intelligence model learned according to at least one of machine learning, neural network, and deep learning algorithms.