The invention relates to the technical field of
image prediction, and discloses an emotion prediction method and
system based on a KAN network, and a storage medium, and the method comprises the steps: collecting a
data set, and carrying out the preprocessing of the
data set; constructing an emotion prediction model based on a KAN network, training the emotion prediction model by using the
training set, and adjusting parameters of the emotion prediction model by using a
cross entropy loss function in the training process to obtain a trained emotion prediction model; evaluating the performance of the trained emotion prediction model by using the
verification set; and inputting a to-be-predicted image into the trained emotion prediction model, and outputting an emotion prediction result. According to the method, the Kolmogorov-Arnold network is used for replacing a traditional multi-layer
perceptron for image
sentiment analysis, the KAN network has remarkable advantages in the aspects of complex relation
processing and
logical reasoning, the sentiment prediction accuracy can be improved, training data are obtained by combining
network data collection and a
text generation picture model, and the method is high in practicability and high in practicability. And the
workload of manual labeling is effectively reduced.