According to various embodiments, an electronic device includes a communication circuit, at least one memory configured to store instructions, and at least one processor, wherein the at least one processor is configured to: A first database for a cosmetic map is obtained by applying cosmetic raw material information and attribute information of a plurality of cosmetics used for this purpose to an artificial neural network, receiving user preference information from an external electronic device, and receiving the user's preference information and the first database. Obtaining a second database for a consumer map by applying a first database to the artificial neural network, and in response to receiving information on a target cosmetic from the external electronic device, based on the information on the target cosmetic and obtain first data on a candidate consumer group corresponding to the target cosmetic by searching a database, and transmit the first data to the external electronic device by using the communication circuit.
展开▼