| CPC G06F 3/0416 (2013.01) [G06F 3/0488 (2013.01)] | 20 Claims | 

| 
               1. An electronic device comprising: 
            a touch sensor; 
                a processor configured to be operatively connected to the touch sensor; and 
                a memory, 
                wherein the processor is configured to, based on execution of instructions stored in the memory: 
              receive touch data corresponding to a touch input from a user by using the touch sensor, 
                  determine the touch input from the user as at least one of a force-touch input or a long-touch input, based on the received touch data, 
                  determine whether a result of determining the touch data matches an intention of the user, 
                  store data that does not match the intention of the user as a result of determination among the touch data in the memory, and 
                  determine a type of an AI-based pre-learning model to be used in the electronic device, based on touch input accuracy and the data that does not match the intention of the user. 
                 |