Provided is training an artificial neural network model based on a GAN. In a method of training a classification model based on a GAN, a classification model capable of deducing an inference result of unknown and/or rejection can be generated by differently generating and training in-domain data and out-of-domain data in time series using a generative model. An intelligent device according to the present disclosure may be associated with an artificial intelligence module, a drone (unmanned aerial vehicle (UAV)), a robot, an augmented reality (AR) device, a virtual reality (VR) device, and 5G service-related devices.
TRAINING ARTIFICIAL NEURAL NETWORK MODEL BASED ON GENERATIVE ADVERSARIAL NETWORK