CN111624265A - Method for identifying egg species - Google Patents

Method for identifying egg species Download PDF

Info

Publication number
CN111624265A
CN111624265A CN202010320172.2A CN202010320172A CN111624265A CN 111624265 A CN111624265 A CN 111624265A CN 202010320172 A CN202010320172 A CN 202010320172A CN 111624265 A CN111624265 A CN 111624265A
Authority
CN
China
Prior art keywords
egg
eggs
sample
data
varieties
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010320172.2A
Other languages
Chinese (zh)
Inventor
韩敏义
石金明
邓绍林
王晓明
郑桂青
徐幸莲
周光宏
黄启荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Wens Jiawei Food Co ltd
Nanjing Agricultural University
Wens Foodstuff Group Co Ltd
Original Assignee
Guangdong Wens Jiawei Food Co ltd
Nanjing Agricultural University
Wens Foodstuff Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Wens Jiawei Food Co ltd, Nanjing Agricultural University, Wens Foodstuff Group Co Ltd filed Critical Guangdong Wens Jiawei Food Co ltd
Priority to CN202010320172.2A priority Critical patent/CN111624265A/en
Publication of CN111624265A publication Critical patent/CN111624265A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N30/00Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
    • G01N30/02Column chromatography
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N30/00Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
    • G01N30/02Column chromatography
    • G01N30/04Preparation or injection of sample to be analysed
    • G01N30/06Preparation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N30/00Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
    • G01N30/02Column chromatography
    • G01N30/04Preparation or injection of sample to be analysed
    • G01N30/16Injection
    • G01N30/18Injection using a septum or microsyringe
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N30/00Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
    • G01N30/02Column chromatography
    • G01N30/86Signal analysis
    • G01N30/8603Signal analysis with integration or differentiation
    • G01N30/8606Integration
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N30/00Investigating or analysing materials by separation into components using adsorption, absorption or similar phenomena or using ion-exchange, e.g. chromatography or field flow fractionation
    • G01N30/02Column chromatography
    • G01N30/86Signal analysis
    • G01N30/8696Details of Software

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Algebra (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Other Investigation Or Analysis Of Materials By Electrical Means (AREA)

Abstract

The invention provides a method for identifying egg types. Detecting the eggs of known varieties by adopting gas chromatography-ion mobility spectrometry to obtain GC-IMS sample data; establishing a new model by using LAV software, adding sample data into an engineering file manager, carrying out color designation for distinguishing, and integrating sample peaks; deriving the peak volume data for the generated sample into a comma separated file; importing a machine learning related library into python software for data cleaning; then, segmenting the data; establishing a random forest classification model; and detecting the eggs of unknown varieties to be detected by using gas chromatography-ion mobility spectrometry, and applying the obtained sample data to the established random forest model to obtain the varieties of the eggs to be detected. The method can accurately test the variety of the eggs, does not need to preprocess the samples, is simple and convenient to operate, saves labor force and saves detection time.

Description

Method for identifying egg species
Technical Field
The invention relates to the field of agricultural product detection, in particular to an egg type identification method.
Background
Eggs are one of the best nutritional sources for humans, and contain high biological value proteins and a wide variety of vitamins and minerals. For humans, egg proteins are second only to breast milk. The quality of eggs is directly related to the personal interest of the consumer. The contents of protein and lecithin in the primary egg are higher than those in the common egg, and the lecithin is the best substance for promoting hepatocyte regeneration, promoting brain development, enhancing memory and supplementing brain nutrition. The primary egg is produced from the primary hen within 30-60 days before the primary hen starts laying, and is the essence of the primary hen essence. The weight of the primarily laid eggs is generally 35-45 g. Each laying hen can lay a small primary egg by accumulating 3-9 days of nutrition on average. Thick and thin, dark yolk, thick egg white, no hormone and antibiotic, low cholesterol, delicious taste, rich vitamins, amino acids and various trace elements needed by human body, and the nutrient content of the first-laying eggs with equal weight is relatively higher compared with the common eggs. Therefore, the price of the primary egg is several times of that of the common egg. Some common household eggs are sold as newborn eggs, which not only disturbs the market, but also damages the interests of consumers. Therefore, a detection technology is needed to be researched to identify the egg types, and the method has important significance for distinguishing good eggs from bad eggs, striking 'good order' bad merchants and maintaining the market fairness.
Disclosure of Invention
In view of the above, it is desirable to provide a method for identifying egg types.
In order to achieve the purpose, the invention adopts the following technical scheme:
the method for identifying the egg type comprises the following steps:
step S1: detecting the eggs of known varieties by adopting gas chromatography-ion mobility spectrometry to obtain GC-IMS sample data;
step S2: establishing a new model by using LAV software, adding sample data into an engineering file manager, carrying out color designation for distinguishing, and integrating sample peaks;
step S3: deriving the peak volume data for the generated sample into a comma separated file;
step S4: importing a machine learning related library into python software for data cleaning; then, segmenting the data; wherein 2/3 is a training set, 1/3 is a verification set, the training set is used for establishing a random forest classification model, and the verification set is used for evaluating the classification accuracy of the model;
step S5: and (4) detecting the eggs of unknown varieties to be detected in the steps S1-S3, and applying the obtained sample data to a random forest model to obtain the varieties of the eggs to be detected.
Further, in the above method for discriminating the kind of egg, the discrimination of the egg is the discrimination of a primary egg and a normal egg.
Further, in the above method for discriminating a kind of an egg, the step of detecting an egg in step S1 includes:
step 1: removing shell of egg, placing into beaker, and stirring with glass rod;
step 2: putting 1-2 mL of the uniformly stirred egg liquid into a headspace bottle;
and step 3: putting the headspace bottle into a sample rack, and incubating for 10-20 min;
and 4, step 4: injecting sample by using an injector of an automatic sample injector, wherein the sample injection volume is 0.2-0.6 mL;
and 5: and (3) carrying out analysis by GC-IMS, wherein the carrier gas is nitrogen, EPC1 is 150mL/min, EPC2 is 2mL/min, the duration is 5min, and then EPC2 is kept at 50-80 mL/min.
Further, in the method for identifying the type of the egg, the incubation temperature in the step 3 is 40 to 50 ℃.
Further, in the above method for identifying the type of egg, the peak volume above the baseline is selected as the intensity type using the new model created by the LAV software in step S2, and the correction function type is boltzmann.
Further, in the above-described method for discriminating the kind of egg, the machine learning-related libraries in step S4 are pandas and sklern.
According to the method for identifying the egg variety, the sample to be detected is detected by using the gas phase-ion mobility spectrometry, and the sample does not need to be subjected to complex pretreatment before detection, so that a large amount of labor force is saved. The detection efficiency is effectively improved, the detection time is about 30min, and the detection time is shortened. In addition, the random forest classification model established by the method is simple and convenient, factors such as marker content do not need to be compared, and the identification accuracy is high.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
FIG. 2 is a random forest classification model 1 st tree;
FIG. 3 is a 50 th tree of the random forest classification model;
FIG. 4 is a 100 th tree of the random forest classification model;
FIG. 5 is a confusion matrix for predicting eggs of unknown breeds.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be further clearly and completely described below with reference to the embodiments of the present invention. It should be noted that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Taking 20 eggs of known varieties, including 10 newborn eggs and 10 common eggs, and establishing a random forest classification model according to the following steps:
(1) after 20 eggs are shelled, respectively putting the eggs into different beakers, and uniformly stirring the eggs by a glass rod; respectively putting 1mL of the uniformly stirred egg liquid into different headspace bottles; putting the headspace bottles into a sample rack in sequence, and incubating for 10 min; the incubation temperature was 50 ℃; injecting sample by using an injector of an automatic sample injector, wherein the sample injection volume is 0.5 mL; performing analysis by GC-IMS, wherein the carrier gas is nitrogen, EPC1 is 150mL/min, EPC2 is 2mL/min, the duration is 5min, and then EPC2 is kept at 50 mL/min;
(2) establishing a new model by using LAV software, selecting the peak volume above a base line according to the intensity type, and setting the correction function type as Boltzmann; adding sample data into an engineering file manager, carrying out color designation for distinguishing, and integrating sample peaks;
(3) deriving the peak volume data for the generated sample into a comma separated file;
(4) introducing pandas and sklern into python software for data cleaning; then, segmenting the data; wherein 2/3 is a training set, 1/3 is a verification set, the training set is used for establishing a random forest classification model, and the verification set is used for evaluating the classification accuracy of the model. The parameters set when the random classification model is established are as follows: impurity rating scale: a coefficient of kini; maximum depth of tree: none; maximum number of features: automatic; maximum depth: none; minimum number of samples required to split an internal node: 2; minimum number of samples required for leaf node: 1; the number of classification trees is as follows: 100, respectively; the generalization accuracy was estimated for the out-of-bag samples: if not; a random number generator: 222.
the generated random classification model is composed of 100 classification trees. Fig. 2, 3, 4 are the 1 st, 50 th and 100 th trees of the random forest classification model, respectively.
Example 2
Taking 40 egg samples of unknown varieties, wherein the number of eggs of different varieties is known by an egg sample taking person, and the egg samples are sent to a tester for testing, and the tester performs testing according to the following steps:
(1) removing shells of eggs, respectively placing the eggs into different beakers, and uniformly stirring the eggs by using a glass rod; respectively putting 1mL of the uniformly stirred egg liquid into different headspace bottles; putting the headspace bottles into a sample rack in sequence, and incubating for 10 min; the incubation temperature was 50 ℃; injecting sample by using an injector of an automatic sample injector, wherein the sample injection volume is 0.5 mL; performing analysis by GC-IMS, wherein the carrier gas is nitrogen, EPC1 is 150mL/min, EPC2 is 2mL/min, the duration is 5min, and then EPC2 is kept at 50 mL/min;
(2) establishing a new model by using LAV software, selecting the peak volume above a base line according to the intensity type, and setting the correction function type as Boltzmann; adding sample data into an engineering file manager, carrying out color designation for distinguishing, and integrating sample peaks;
(3) deriving the peak volume data for the generated sample into a comma separated file;
(4) the sample data was applied to the generated random forest model in example 1 to predict egg type of unknown breed.
The predicted results are shown as a confusion matrix in fig. 5. As can be seen from fig. 5, the accuracy of the detection of the established random forest model in example 1 is 100%.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (6)

1. The method for identifying the egg type is characterized by comprising the following steps:
step S1: detecting the eggs of known varieties by adopting gas chromatography-ion mobility spectrometry to obtain GC-IMS sample data;
step S2: establishing a new model by using LAV software, adding sample data into an engineering file manager, carrying out color designation for distinguishing, and integrating sample peaks;
step S3: deriving peak volume data for the generated samples, comma separated files;
step S4: importing a machine learning related library into python software for data cleaning; then, segmenting the data; wherein 2/3 is a training set, 1/3 is a verification set, the training set is used for establishing a random forest classification model, and the verification set is used for evaluating the classification accuracy of the model;
step S5: and (4) detecting the eggs of unknown varieties to be detected in the steps S1-S3, and applying the obtained sample data to the established random forest model to obtain the varieties of the eggs to be detected.
2. The method for discriminating egg types according to claim 1, wherein said discrimination of eggs is discrimination of a virgin egg and a normal egg.
3. The method for discriminating egg kind according to any one of claims 1 or 2, wherein the step of detecting the egg in step S1 includes:
step 1: removing shell of egg, placing into beaker, and stirring with glass rod;
step 2: putting 1-2 mL of the uniformly stirred egg liquid into a headspace bottle;
and step 3: putting the headspace bottle into a sample rack, and incubating for 10-20 min;
and 4, step 4: injecting sample by using an injector of an automatic sample injector, wherein the sample injection volume is 0.2-0.6 mL;
and 5: and (3) carrying out analysis by GC-IMS, wherein the carrier gas is nitrogen, EPC1 is 150mL/min, EPC2 is 2mL/min, the duration is 5min, and then EPC2 is kept at 50-80 mL/min.
4. The method for identifying the kind of egg according to claim 3, wherein the incubation temperature in step 3 is 40 to 50 ℃.
5. The method for discriminating an egg kind according to claim 1, wherein the intensity type is selected as a peak volume above a base line and the correction function type is boltzmann using a new model created by LAV software in step S2.
6. The method for discriminating egg kind according to claim 1, wherein the machine learning related library in the step S4 is pandas and sklern.
CN202010320172.2A 2020-04-22 2020-04-22 Method for identifying egg species Pending CN111624265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010320172.2A CN111624265A (en) 2020-04-22 2020-04-22 Method for identifying egg species

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010320172.2A CN111624265A (en) 2020-04-22 2020-04-22 Method for identifying egg species

Publications (1)

Publication Number Publication Date
CN111624265A true CN111624265A (en) 2020-09-04

Family

ID=72258084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010320172.2A Pending CN111624265A (en) 2020-04-22 2020-04-22 Method for identifying egg species

Country Status (1)

Country Link
CN (1) CN111624265A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113899826A (en) * 2021-09-29 2022-01-07 中国农业大学 Method and system for classifying astragalus seeds

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344713A (en) * 2013-06-18 2013-10-09 湖南中烟工业有限责任公司 Method for analyzing importance of flavoring in flue-cured tobacco fragrance type classification and forecasting fragrance type based on random forest method
CN103674884A (en) * 2012-09-17 2014-03-26 福建中烟工业有限责任公司 Random forest classification method for tobacco leaf style characteristics based on near infrared spectral information
CN107132267A (en) * 2017-06-21 2017-09-05 佛山科学技术学院 A kind of Classification of Tea method and system based on random forest
CN109655532A (en) * 2017-10-12 2019-04-19 贵州中烟工业有限责任公司 A kind of method of pair of cigarette taxonomic history
US20190302069A1 (en) * 2016-07-04 2019-10-03 British American Tobacco (Investments) Limited Apparatus and method for classifying a tobacco sample into one of a predefined set of taste categories

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103674884A (en) * 2012-09-17 2014-03-26 福建中烟工业有限责任公司 Random forest classification method for tobacco leaf style characteristics based on near infrared spectral information
CN103344713A (en) * 2013-06-18 2013-10-09 湖南中烟工业有限责任公司 Method for analyzing importance of flavoring in flue-cured tobacco fragrance type classification and forecasting fragrance type based on random forest method
US20190302069A1 (en) * 2016-07-04 2019-10-03 British American Tobacco (Investments) Limited Apparatus and method for classifying a tobacco sample into one of a predefined set of taste categories
CN107132267A (en) * 2017-06-21 2017-09-05 佛山科学技术学院 A kind of Classification of Tea method and system based on random forest
CN109655532A (en) * 2017-10-12 2019-04-19 贵州中烟工业有限责任公司 A kind of method of pair of cigarette taxonomic history

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DANIELE CAVANNA,ET AL: "Ion mobility spectrometry coupled to gas chromatography: A rapid tool to assess eggs freshness", 《FOOD CHEMISTRY》 *
段宇飞: "鸡蛋多品质高通量在线快速无损检测研究", 《华中农业大学博士学位论文》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113899826A (en) * 2021-09-29 2022-01-07 中国农业大学 Method and system for classifying astragalus seeds

Similar Documents

Publication Publication Date Title
Monahan et al. Meat provenance: Authentication of geographical origin and dietary background of meat
Hassoun et al. Fraud in animal origin food products: Advances in emerging spectroscopic detection methods over the past five years
Khulal et al. Intelligent evaluation of total volatile basic nitrogen (TVB-N) content in chicken meat by an improved multiple level data fusion model
Li et al. Authentication of fishery and aquaculture products by multi-element and stable isotope analysis
Watanabe et al. Relationship between water-holding capacity and intramuscular fat content in Japanese commercial pork loin
Primrose et al. Food forensics: methods for determining the authenticity of foodstuffs
CN104049068B (en) The non-destructive determination device of fresh poultry meat freshness and assay method
Ye et al. A comprehensive overview of emerging techniques and chemometrics for authenticity and traceability of animal-derived food
Joo et al. A comparative study on the taste characteristics of satellite cell cultured meat derived from chicken and cattle muscles
CN110443262B (en) Computer vision-based rapid nondestructive testing method and device for freshness of fish body
Di Rosa et al. Botanical origin identification of Sicilian honeys based on artificial senses and multi-sensor data fusion
CN107228924B (en) A kind of adequate proteins processing peanut raw material quality determination and its evaluation method
Wei et al. Classification of monofloral honeys by voltammetric electronic tongue with chemometrics method
Andersen et al. Rumen metaproteomics: closer to linking rumen microbial function to animal productivity traits
Dinesh et al. Marketing margin, price spread and marketing efficiency analysis on different poultry farms
CN105466981A (en) Method for identifying lactogenesis adulteration based on nonlinear chemical fingerprint chromatography technique
Kim et al. Effects of carcass weight and back-fat thickness on carcass properties of Korean native pigs
Zanetti et al. Using 2‐DE for the differentiation of local chicken breeds
CN111624265A (en) Method for identifying egg species
CN106290754B (en) A kind of pork rinses food processing suitability evaluation methods
Tazi Principal component analysis (PCA) method for classification of beef and pork aroma based on electronic nose
El Sheikha Food authentication: Introduction, techniques, and prospects
Rodríguez-Hernández et al. Geographical origin, curing plant and commercial category discrimination of cured Iberian hams through volatilome analysis at industry level
CN103399012B (en) A kind of colorimetric sensing pad pasting and preparation method thereof
Rodríguez-Hernández et al. In vivo authentication of Iberian pig feeding regime using faecal volatilome information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination