• Title/Summary/Keyword: Green Yellow

Search Result 1,032, Processing Time 0.019 seconds

A Two-Stage Learning Method of CNN and K-means RGB Cluster for Sentiment Classification of Images (이미지 감성분류를 위한 CNN과 K-means RGB Cluster 이-단계 학습 방안)

  • Kim, Jeongtae;Park, Eunbi;Han, Kiwoong;Lee, Junghyun;Lee, Hong Joo
    • Journal of Intelligence and Information Systems
    • /
    • v.27 no.3
    • /
    • pp.139-156
    • /
    • 2021
  • The biggest reason for using a deep learning model in image classification is that it is possible to consider the relationship between each region by extracting each region's features from the overall information of the image. However, the CNN model may not be suitable for emotional image data without the image's regional features. To solve the difficulty of classifying emotion images, many researchers each year propose a CNN-based architecture suitable for emotion images. Studies on the relationship between color and human emotion were also conducted, and results were derived that different emotions are induced according to color. In studies using deep learning, there have been studies that apply color information to image subtraction classification. The case where the image's color information is additionally used than the case where the classification model is trained with only the image improves the accuracy of classifying image emotions. This study proposes two ways to increase the accuracy by incorporating the result value after the model classifies an image's emotion. Both methods improve accuracy by modifying the result value based on statistics using the color of the picture. When performing the test by finding the two-color combinations most distributed for all training data, the two-color combinations most distributed for each test data image were found. The result values were corrected according to the color combination distribution. This method weights the result value obtained after the model classifies an image's emotion by creating an expression based on the log function and the exponential function. Emotion6, classified into six emotions, and Artphoto classified into eight categories were used for the image data. Densenet169, Mnasnet, Resnet101, Resnet152, and Vgg19 architectures were used for the CNN model, and the performance evaluation was compared before and after applying the two-stage learning to the CNN model. Inspired by color psychology, which deals with the relationship between colors and emotions, when creating a model that classifies an image's sentiment, we studied how to improve accuracy by modifying the result values based on color. Sixteen colors were used: red, orange, yellow, green, blue, indigo, purple, turquoise, pink, magenta, brown, gray, silver, gold, white, and black. It has meaning. Using Scikit-learn's Clustering, the seven colors that are primarily distributed in the image are checked. Then, the RGB coordinate values of the colors from the image are compared with the RGB coordinate values of the 16 colors presented in the above data. That is, it was converted to the closest color. Suppose three or more color combinations are selected. In that case, too many color combinations occur, resulting in a problem in which the distribution is scattered, so a situation fewer influences the result value. Therefore, to solve this problem, two-color combinations were found and weighted to the model. Before training, the most distributed color combinations were found for all training data images. The distribution of color combinations for each class was stored in a Python dictionary format to be used during testing. During the test, the two-color combinations that are most distributed for each test data image are found. After that, we checked how the color combinations were distributed in the training data and corrected the result. We devised several equations to weight the result value from the model based on the extracted color as described above. The data set was randomly divided by 80:20, and the model was verified using 20% of the data as a test set. After splitting the remaining 80% of the data into five divisions to perform 5-fold cross-validation, the model was trained five times using different verification datasets. Finally, the performance was checked using the test dataset that was previously separated. Adam was used as the activation function, and the learning rate was set to 0.01. The training was performed as much as 20 epochs, and if the validation loss value did not decrease during five epochs of learning, the experiment was stopped. Early tapping was set to load the model with the best validation loss value. The classification accuracy was better when the extracted information using color properties was used together than the case using only the CNN architecture.

A Study on the Dietary Behaviors, Physical Development and Nutrient Intakes in Preschool Children (학령 전 아동의 식습관, 신체 발달 및 영양 섭취상태에 관한 연구)

  • Yu, Kyeong-Hee
    • Journal of Nutrition and Health
    • /
    • v.42 no.1
    • /
    • pp.23-37
    • /
    • 2009
  • The purpose of this study was to investigate the health status of preschool children using the questionnaires about dietary behaviors and anthropometric indices. And also nutritional status was investigated using questionnaires for 24-hr recall method. The study was conducted in 145 children aged 3 to 6 years and questionnaires for dietary behaviors and dietary intakes were performed by mothers of children in Ulsan. Just nine percent of children were graded as good in terms of having healthy eating habits, this means that the nutrition education for the dietary behaviors should be more focused on preschool children. With regard to the frequency of food intake, children consumed green & yellow vegetables less frequently, meanwhile consumed high protein source food (meat, egg and bean) and milk and its product more frequently. Children almost never consumed fried foods as often as 1-2 times a weak. In assessment of the health status, children have the highest prevalence of colds and allergy, but lower prevalence of clinical symptoms due to the nutritional deficiency. The mean height was $103.6\;{\pm}\;6.4\;cm$ and significantly different among age (p < 0.05), but was not significantly different between sex. The mean weight was $17.8\;{\pm}\;3.0\;kg$ and significantly different in 5, 6years old among age. By the WLI criteria, 11.1% of children were underweight and 17.4% of children were overweight or obese. By the Rohrer index criteria, any children were not underweight and 86.8% of children were overweight or obese. By the Kaup index criteria, 2.8% of children were underweight and 29.2% of children were overweight or obese. And Obesity Index criteria, 2.1% of children were underweight and 20.8% of children were overweight or obese. The results of obesity rate by all criteria except Rohrer index indicated similar level, were significantly high in age 3 with all criteria, and decreased with age increased. The energy intake of children was lower than EER (Estimated Energy Requirements) of Dietary Reference Intakes for Koreans (KDRIs) by as much as 85.7%. Acceptable Macronutrient Distribution Ranges (AMDR) was 62.6:21.5:15.7 as carbohydrate:protein:lipid, so children consumed protein more, but consumed lipid less compared with those of KDRIs. Vitamin A intake was 133% of recommended intakes (RI) and calcium intake which was identified as the nutrient most likely to be lacking in diets was 98.9% of RI. The intakes of all minerals and vitamins except folate were higher than KDRIs. 33.3% of children were distributed in insufficiency of energy intake, 42.7% of children were distributed in insufficiency of lipid intake. These results indicate that the need of developing of nutrition education program and further concern of a public health center, university and children care center about dietary life for preschool children.