WO2020034126A1 - Sample training method, classification method, identification method, device, medium, and system - Google Patents

Sample training method, classification method, identification method, device, medium, and system Download PDF

Info

Publication number
WO2020034126A1
WO2020034126A1 PCT/CN2018/100711 CN2018100711W WO2020034126A1 WO 2020034126 A1 WO2020034126 A1 WO 2020034126A1 CN 2018100711 W CN2018100711 W CN 2018100711W WO 2020034126 A1 WO2020034126 A1 WO 2020034126A1
Authority
WO
WIPO (PCT)
Prior art keywords
sample
category
tested
sample set
samples
Prior art date
Application number
PCT/CN2018/100711
Other languages
French (fr)
Chinese (zh)
Inventor
杜文静
王磊
李慧慧
Original Assignee
深圳先进技术研究院
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 深圳先进技术研究院 filed Critical 深圳先进技术研究院
Priority to PCT/CN2018/100711 priority Critical patent/WO2020034126A1/en
Publication of WO2020034126A1 publication Critical patent/WO2020034126A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Definitions

  • the invention belongs to the field of computer technology, and particularly relates to a sample training method, a classification method, a method for identifying lower back pain symptoms, a computing device, a computer-readable storage medium, and a system for identifying lower back pain symptoms.
  • the amount of information in some categories is obviously scarce but it is significantly different from the information characteristics of another reference category, and the amount of information in some categories is significantly more abundant than that of the reference category. There is no significant difference in characteristics, which makes the scarce scarce category information quantitatively unable to be compared with the obviously abundant ordinary category information.
  • the rare category information is not unique to the ordinary category information because of its special characteristics. Different treatment results in the relatively weak information of rare class information in the trained classifier, and the classification accuracy of the test samples cannot be effectively guaranteed.
  • the purpose of the present invention is to provide a sample training method, a classification method, a method for identifying lower back pain symptoms, a computing device, a computer-readable storage medium, and a system for identifying lower back pain symptoms.
  • the problem of sample classification accuracy is to provide a sample training method, a classification method, a method for identifying lower back pain symptoms, a computing device, a computer-readable storage medium, and a system for identifying lower back pain symptoms.
  • the present invention provides a sample training method, which includes the following steps:
  • a first sample set composed of samples to be trained belonging to the first category is obtained, and the first sample set includes: compared to reference samples belonging to the second category, the samples to be trained do not have significant differences in feature changes
  • a second sample set of, and a sample to be trained that has a significant difference between the feature change compared to the reference sample and the feature change of the sample to be trained in the second sample set compared to the reference sample The third sample set formed;
  • the features of the samples to be trained in the first sample set and the features of the samples to be trained in the third sample set are trained by a machine learning classification method, and a first classifier and a second classifier are obtained correspondingly.
  • the present invention provides a classification method, which includes the following steps:
  • the characteristics of the sample to be tested are input to a second classifier for a second judgment; if the obtained second judgment result indicates the The sample to be tested belongs to the first category, and the second judgment result is used as a classification result,
  • the classified samples in the first sample set corresponding to the first classifier and the classified samples in the third sample set corresponding to the second classifier both belong to the first category, and the first sample The set includes a second sample set composed of classified samples that have no significant difference in feature changes compared to reference samples belonging to the second category, and a feature change compared to the reference sample, and the first The third sample set composed of the classified samples with a significant difference between the classified samples in the two sample set compared to the reference sample.
  • the present invention also provides a method for identifying symptoms of lower back pain, which includes the following steps:
  • a two-sample set, and a significant difference between a feature change compared to the reference sample and a feature change of a classified sample in the second sample set compared to the reference sample The third sample set composed of the classified samples, the first category is a category of lower back pain symptoms, and the second category is a category of no lower back pain symptoms.
  • the present invention also provides a computing device including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor is implemented when the computer program is executed. As in the steps above.
  • the present invention also provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the method are implemented.
  • the present invention also provides a low back pain symptom recognition system, which includes:
  • An acquisition module configured to obtain a local muscle electromyography signal of the waist of the subject
  • a preprocessing module configured to preprocess the myoelectric signals of the local muscles of the waist to obtain a sample to be tested
  • a feature extraction module configured to process the sample to be tested to obtain characteristics of the sample to be tested
  • a classification module configured to input features of the sample to be tested into a first classifier for a first judgment, and if the obtained first judgment result indicates that the sample to be tested belongs to the first category, use the first judgment The result is a classification result. If the first judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to a second classifier for a second judgment.
  • the judgment result indicates that the sample to be tested belongs to the first category
  • the second judgment result is used as a classification result, wherein the classified samples in the first sample set corresponding to the first classifier and the classification
  • the classified samples in the third sample set corresponding to the second classifier all belong to the first category
  • the first sample set includes: those that have no significant difference in feature changes compared to the reference samples belonging to the second category
  • a second sample set composed of classified samples, and a feature change of the feature compared to the reference sample, and a feature change of the classified sample in the second sample set compared to the reference sample
  • the third sample set composed of classified samples with significant differences among them, the first category is a category of lower back pain symptoms, and the second category is a category of no lower back pain symptoms.
  • the characteristics of the sample to be tested are input to the first classifier for the first judgment. If the obtained first judgment result indicates that the sample to be tested belongs to the first category, the first judgment result is used as the classification result. If not, the characteristics of the sample to be tested are input to a second classifier for a second judgment. If the obtained second judgment result indicates that the sample to be tested belongs to the first category, the second judgment result is used.
  • the The first sample set includes: a second sample set consisting of a reference sample that is compared to a second category, a classified sample that does not have a significant difference in feature change, and a feature change that is compared to the reference sample, and The third sample set composed of the classified samples having a significant difference between the classified samples in the second sample set and the feature changes of the reference sample.
  • the first classifier considers not only the generality of the changes in the sample features in the second sample set belonging to the first category compared to the reference sample features in the second category, but also the sample features in the third sample set belonging to the first category.
  • Relative rarity of feature changes compared to the second category of reference samples so that classification can be performed quickly and accurately, while the second classifier focuses on the features of the samples in the third sample set belonging to the first category compared to the second
  • the rarity of the feature change of the category reference sample can be used to correct the reclassification when the classification of the first classifier is wrong, thereby effectively ensuring the accuracy of the classification of the sample to be tested.
  • FIG. 1 is an implementation flowchart of a sample training method provided by Embodiment 1 of the present invention
  • FIG. 2 is an implementation flowchart of a classification method provided by Embodiment 2 of the present invention.
  • Embodiment 3 is a flowchart of a method for identifying symptoms of lower back pain provided by Embodiment 3 of the present invention.
  • FIG. 4 is a schematic diagram of an experimental result of the classification recognition accuracy rate when the patient is in different motion states in Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of a computing device according to a fourth embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a lower back pain symptom recognition system according to a sixth embodiment of the present invention.
  • FIG. 1 shows the implementation process of the sample training method provided in the first embodiment of the present invention. For convenience of explanation, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
  • step S101 a first sample set consisting of to-be-trained samples belonging to a first category is obtained, and the first sample set includes: A second sample set composed of training samples, and a to-be-trained train that has a significant difference between the feature change compared to the reference sample and the feature change of the to-be-trained sample in the second sample set compared to the reference sample
  • the sample constitutes a third sample set.
  • the to-be-trained samples in the first sample set and the to-be-trained samples in the third sample set have the same number of index parameters, and the difference between the sample features can be indicated by the calculated distance.
  • the samples to be trained belong to the category of lower back pain symptoms, and relatively there are no categories of lower back pain symptoms (or health categories).
  • These samples to be trained constitute a first sample set, and the first sample set contains There are a second set of samples and a third set of samples, where the samples to be trained in the second set of samples are similar: that is, the characteristics change compared to the reference sample with no back pain symptoms (no back pain symptoms or healthy samples) There is no significant difference. It may be that the average electromyography (AEMG) obtained by processing the local electromyographic signals of the lower back muscles of the patients with lower back pain corresponding to the second sample set is lower than that of those without normal back pain or healthy.
  • AEMG average electromyography
  • the AEMG and other changes in the same direction while the characteristics of the samples to be trained in the third sample set are changed compared to the characteristics of the above reference samples, and the characteristics of the samples to be trained in the second sample set are compared to the characteristics of the above reference samples. There is a significant difference between them. It may be that the AEMG of the patients with lower back pain corresponding to the second sample set is the same as that of the normal people who have no symptoms of lower back pain or healthy people.
  • the collected samples to be trained belong to the low-emotion category, and there are relatively non-emotional categories.
  • These to-be-trained samples constitute a first sample set, and the first sample set includes a second sample set and a third sample Set, where the samples to be trained in the second sample set are similar: that is, compared with the non-emotional low-level reference samples (emotion calm samples or emotional agitation samples), the feature changes do not have significant differences, which may be corresponding to the second sample set
  • the eye shape indications and other values obtained from the facial image processing of the depressed person are changed in the same direction compared to the eye shape indications and the like of the person with a peaceful mood, and the samples to be trained in the third sample set are compared with the reference samples.
  • the change in the feature value of the second sample set and the feature change of the sample to be trained in the second sample set compared to the reference sample, which may be the eye shape indicator value of the depressed person corresponding to the second sample set.
  • the eye shape of the person with a peaceful mood changes in the same direction, and the eye shape of the person with low mood corresponding to the third sample set Compared with the direction of changes in the eye shape of the person who is at peace, the instruction value and other changes are compared with the values of the eye shape of the person at low mood corresponding to the second sample set.
  • the direction is opposite, while the samples to be trained in the second sample set are majority and belong to the ordinary category, the samples to be trained in the third sample set are few and belong to the rare category, but whether it is the samples to be trained in the second sample set or the third The samples to be trained in the sample set all belong to the depressed mood category.
  • step S102 the features of the samples to be trained in the first sample set and the features of the samples to be trained in the third sample set are trained by a machine learning classification method, and a first classifier and a second classifier are obtained correspondingly.
  • a machine learning classification method for performing sample training, not only the samples to be trained, but also reference samples are needed, so as to train to obtain a classifier. Due to the different sets of samples targeted for training, the first and second classifiers obtained are also different.
  • the first classifier considers both the generality of the changes in the sample features in the second sample set belonging to the first category compared to the reference sample features in the second category, and the first The rarity of the sample features in the three-sample set compared to the reference samples in the second category, which can provide fast and accurate classification.
  • the second classifier focuses on the third sample set that belongs to the first category. Compared with the rarity of the characteristic changes of the reference sample of the second category, it can further provide a guarantee for the correct re-classification of the first classifier when it is incorrectly classified, thereby effectively ensuring the accuracy of the sample to be classified.
  • FIG. 2 shows the implementation flow of the classification method provided in Embodiment 2 of the present invention.
  • the classification method is based on the first classifier and the second classifier implemented in the first embodiment.
  • the first classifier and the second classifier can perform stages.
  • SVM Support Vector Machine
  • step S201 a sample to be tested is obtained.
  • step S202 the sample to be tested is processed to obtain the characteristics of the sample to be tested.
  • step S203 the characteristics of the sample to be tested are input to the first classifier for the first judgment. If the obtained first judgment result indicates that the sample to be tested belongs to the first category, step S204 is performed; otherwise, step S205 is performed.
  • step S204 the first determination result is used as the classification result.
  • step S205 the characteristics of the sample to be tested are input to the second classifier for a second judgment. If the obtained second judgment result indicates that the sample to be tested belongs to the first category, step S206 is performed.
  • step S206 the second judgment result is used as the classification result.
  • the first classifier considers both the generality of the changes in the sample features in the second sample set belonging to the first category compared to the reference sample features in the second category, and the first The relative rarity of the characteristics of the samples in the three sample set compared to the characteristics of the reference sample in the second category, so that the classification can be performed quickly and accurately.
  • the second classifier focuses on the samples in the third sample set that belong to the first category. The rarity of feature changes compared to the reference samples of the second category, so that the first classifier can be reclassified in a correct manner when the classification is incorrect, thereby effectively ensuring the accuracy of the sample to be tested.
  • test sample that is known to belong to the first category
  • the first classifier judges incorrectly, indicating that The test sample may belong to the category corresponding to the third sample set, and then the second classifier needs to be used to judge the test sample. If the second judgment result obtained by the second classifier indicates that the test sample belongs to the first category, the first The two classifiers make correct judgments, otherwise they make incorrect judgments. If the number of test samples targeted by cumulative judgment errors is large, these test samples need to be used as training samples in the third sample set, and retrained to update to obtain a new A classifier and a second classifier.
  • FIG. 3 shows the implementation flow of the method for identifying lower back pain symptoms provided by the third embodiment of the present invention.
  • FIG. 3 shows the implementation flow of the method for identifying lower back pain symptoms provided by the third embodiment of the present invention.
  • the details are as follows:
  • step S301 a waist local muscle electromyogram signal of the subject is obtained.
  • an electrode sheet may be pasted on the surface of the waist muscle of the subject, and the electrode sheet records the bioelectrical signal released during the neuromuscular activity, that is, the above-mentioned local muscle electromyographic signal of the waist.
  • step S302 pre-processing is performed on the lumbar local muscle EMG signal to obtain a test sample.
  • the preprocessing involves filtering, denoising, and normalizing the myoelectric signals of local waist muscles.
  • the effective frequency of the EMG signal is 10-500 Hz. Therefore, the original signal collected must be processed by a 10-500 Hz band-pass filter.
  • the 50 Hz power frequency interference generated by the acquisition equipment and China's voltage of 220 volts usually causes interference to the EMG signal. Therefore, the power frequency denoising of the signal needs to be performed at 50 Hz. Due to the differences between different individuals, in order to eliminate this difference and make individuals judge at a consistent standard level, the filtered and denoised signals need to be standardized, and the maximum normalization normalization algorithm is used to obtain each time The EMG signals are standardized and finally the test sample is obtained.
  • step S303 the sample to be tested is processed to obtain the characteristics of the sample to be tested.
  • time-domain and frequency-domain index parameters representing muscle function status can be screened for the sample to be measured, and time-domain index parameters are obtained: AEMG, Root Mean Square (RMS), Co-contraction ratio (CCR), sample entropy (SamEn), and frequency-domain index parameters: Mean Power Frequency (Mean), Frequency (MPF), and Median Frequency (MDF).
  • AEMG largely represents the dominating output of the surface electromyography of the selected muscle under a given task or given action
  • RMS is directly related to the energy of the electromyographic signal and is often used to reflect the energy that generates myoelectricity
  • CCR reflects The coordination ability of each muscle in a specific task
  • SamEn reflects the complexity of muscle movement patterns in a specific task
  • MPF represents the center of gravity frequency of the EMG signal spectrum
  • MDF represents its total power less than the MPF part and greater than the MPF part The total power is equal, these two indicators reflect the degree of muscle fatigue.
  • N represents the number of sample points of the EMG signal
  • Data [i] represents the original EMG signal of a period of time, specifically a time series signal of a period of time.
  • One time point corresponds to a voltage value, such as If i is 10, it refers to the continuous voltage value of 10 points.
  • the molecular part represents the average EMG value of the antagonist muscle muscle signal
  • the denominator part represents the average EMG value of all the antagonist muscles and active muscles tested.
  • the mean EMG value is also the instantaneous voltage value obtained by summing and averaging the voltage values at all time points.
  • SamEn is a set of data consisting of K points of the original data x (1), x (2), x (3), ..., x (K), where K is the total Data length, m is the vector dimension, that is, the total length of the data is converted into an m-dimensional vector as shown in the following formula (1-4) by an algorithm.
  • the value of m is: m ⁇ K.
  • X (i) [x (i), x (i + 1), ..., x (i + m-1)]
  • k 0,1,2, ..., m-1,1 ⁇ i, j ⁇ K-m + 1, given the similarity tolerance r, calculate d [X ( i), X (j)] ⁇ r
  • the ratio of the number of r to the total number of vectors Km-1, the ratio is shown in formula (1-6), where d [X (i), X (j)] ⁇ r
  • the number refers to the sum of the number of all sample points whose distance between the vectors x (i) and x (j) is less than r.
  • m represents the maximum template length
  • r represents the matching tolerance
  • K is the total data length.
  • the value of m is 1 or 2
  • the range of r is [0.1SD, 0.25SD].
  • SD is the standard deviation of the time series (Standard Deviation).
  • m can take the value of 2
  • r can take the value. Is 0.15, and the entire data length is 10,000 sample points.
  • PSD Power Spectral Density
  • left and right lateral oblique muscles, external oblique muscles, erector spinae / multifidus muscles were obtained from 172 testers: left and right lateral oblique muscles, external oblique muscles, erector spinae / multifidus muscles. After feature extraction, 31 muscle function parameters were obtained. Characteristically, they are left internal oblique AEMG, right internal oblique AEMG, left external oblique AEMG, right external oblique AEMG, left erector spinae / multisplit AEMG, and right vertical Spinal / multifidus AEMG, Six-muscle overall coordination parameter CCR, Left internal oblique RMS, Right internal oblique RMS, Left external oblique RMS, Right external oblique RMS, Left Side erector spinae / polysacral RMS, right erector spine / polysacral RMS, left internal oblique SamEn, right
  • step S304 the characteristics of the sample to be tested are input to the first classifier for the first judgment. If the obtained first judgment result indicates that the sample to be tested belongs to the first category, the first judgment result is used as the classification result. If the judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to the second classifier for a second judgment. If the obtained second judgment result indicates that the sample to be tested belongs to the first category, the second judgment is used. The results are used as classification results.
  • the classified samples in the first sample set corresponding to the first classifier and the classified samples in the third sample set corresponding to the second classifier both belong to the first category
  • the first sample set includes : A second sample set composed of classified samples that do not have significant differences in feature changes compared to a reference sample belonging to the second category, and a classification of the second sample set that consists of feature changes compared to reference samples
  • the first classifier considers both the generality of the sample features in the second sample set belonging to the first category compared to the reference sample features in the second category, and also considers the sample feature phases in the third sample set belonging to the first category Relative rarity of feature changes compared to the second category of reference samples, so that classification can be performed quickly and accurately, while the second classifier focuses on the features of the samples in the third sample set belonging to the first category compared to the second category
  • the rarity of the change in the reference sample characteristics can be used to correct the reclassification of the first classifier when it is incorrectly classified, thereby effectively ensuring the accuracy of classification and recognition of lower back pain symptoms; in addition, patients based on lower back pain symptoms
  • the 31 index parameters in the time and frequency domains can more fully reflect the patient's disease characterization, and the method can achieve low-cost, non-invasive, non-radiation effects when applied.
  • the above-mentioned method for identifying low back pain is used to classify and identify 89 of 172 patients with normal low back pain and 83 patients of low back pain.
  • the recognition result is shown in FIG. 4, and the results show that: There is a certain difference in the accuracy of recognition in the state of motion.
  • the specific performance is as follows: in the forward lean state, the accuracy of identifying low back pain is 96.08%; in the backward state, the accuracy of identifying low back pain is 89.13%; In the left-leaning state, the accuracy rate of identifying low back pain is 88.89%; in the right-leaning state, the accuracy rate of identifying low back pain is 90.38%, so the four types of exercise can better distinguish between painless people and lower back.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 5 shows a structure of a computing device provided in Embodiment 4 of the present invention. For convenience of explanation, only parts related to the embodiment of the present invention are shown.
  • the computing device includes a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501.
  • the processor 501 executes the computer program 503 the steps in the foregoing method embodiments are implemented, for example, steps S101 to S102 shown in FIG. 1 and the like.
  • the computing device in the embodiment of the present invention may be a personal computer, a smart phone, a tablet computer, or the like.
  • the processor 501 executes the computer program 503 in the computing device to implement the foregoing method, reference may be made to the description of the foregoing method embodiment, and details are not described herein again.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the foregoing method embodiment are implemented, for example, as shown in FIG. 1.
  • the steps S101 to S102 are shown.
  • the computer-readable storage medium of the embodiment of the present invention may include any entity or device capable of carrying computer program code, a recording medium, for example, a memory such as a ROM / RAM, a magnetic disk, an optical disk, a flash memory, or the like.
  • a recording medium for example, a memory such as a ROM / RAM, a magnetic disk, an optical disk, a flash memory, or the like.
  • Embodiment 6 is a diagrammatic representation of Embodiment 6
  • FIG. 6 shows a structure of a lower back pain symptom recognition system provided in Embodiment 3 of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown, including:
  • An acquisition module 601 configured to obtain a local muscle electromyography signal of a waist of a person to be measured
  • a preprocessing module 602 configured to preprocess the myoelectric signals of the local muscles of the waist to obtain a test sample
  • a feature extraction module 603, configured to process the sample to be tested to obtain features as the sample to be tested.
  • the classification module 604 is configured to input the characteristics of the sample to be tested into the first classifier for the first judgment. If the obtained first judgment result indicates that the sample to be tested belongs to the first category, the first judgment result is used as the classification result. If the judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to the second classifier for a second judgment. If the obtained second judgment result indicates that the sample to be tested belongs to the first category, the second judgment is used.
  • the result is the classification result, where the classified samples in the first sample set corresponding to the first classifier and the classified samples in the third sample set corresponding to the second classifier both belong to the first category, and the first sample set Contains: a second sample set composed of classified samples that have no significant difference in feature changes compared to a reference sample belonging to the second category, and a feature change compared to the reference sample that has been in the second sample set.
  • the classified sample is a third sample set composed of classified samples that have significant differences between the feature changes of the reference sample, and the first category is lower back pain Symptoms category, while the second category is no lower back pain symptoms category or health category.
  • each module of the low back pain symptom recognition system may be implemented by corresponding hardware or software units, and each unit may be an independent software and hardware unit, or may be integrated into one software and hardware unit, which need not be limited here. this invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

Provided are a sample training method, a classification method, a lower back pain symptom identification method, a computer device, a computer-readable storage medium, and a lower back pain symptom identification system applicable in the technical field of computers. A first classifier not only takes into consideration the generality of sample features in a second sample set pertaining to a first category compared with changes in reference sample features of a second category, but also takes into consideration the relative scarcity of sample features in a third sample set pertaining to the first category compared with the changes in the reference sample features of the second category, thus allowing a quick and accurate classification; meanwhile, a second classifier focuses on taking into consideration the scarcity of the sample features in the third sample set compared with the changes in the reference sample features of the second category, thus allowing a corrective reclassification when the first classifier misclassifies, and effectively ensuring the accuracy of a test sample classification.

Description

样本训练方法、分类方法、识别方法、装置、介质及系统Sample training method, classification method, recognition method, device, medium and system 技术领域Technical field
本发明属于计算机技术领域,尤其涉及一种样本训练方法、分类方法、下背痛症状识别方法、计算装置、计算机可读存储介质及下背痛症状识别系统。The invention belongs to the field of computer technology, and particularly relates to a sample training method, a classification method, a method for identifying lower back pain symptoms, a computing device, a computer-readable storage medium, and a system for identifying lower back pain symptoms.
背景技术Background technique
由于信息资源分布的不均衡,对于属于同一类别的信息而言,其中有些类别的信息数量明显匮乏但与另一参考类别信息特征存在显著差异,而有些类别的信息数量明显充裕而与参考类别信息特征不存在显著差异,使得明显匮乏的稀有类别信息从数量上无法与明显充裕的普通类别信息相比较,在现有的分类过程中,不会因为稀有类别信息特征的特别而与普通类别信息相区别对待,导致训练所得分类器中涉及稀有类别信息因素相对被弱化,待测样本的分类准确性无法得到有效保障。Due to the uneven distribution of information resources, for the information belonging to the same category, the amount of information in some categories is obviously scarce but it is significantly different from the information characteristics of another reference category, and the amount of information in some categories is significantly more abundant than that of the reference category. There is no significant difference in characteristics, which makes the scarce scarce category information quantitatively unable to be compared with the obviously abundant ordinary category information. In the existing classification process, the rare category information is not unique to the ordinary category information because of its special characteristics. Different treatment results in the relatively weak information of rare class information in the trained classifier, and the classification accuracy of the test samples cannot be effectively guaranteed.
发明内容Summary of the Invention
本发明的目的在于提供一种样本训练方法、分类方法、下背痛症状识别方法、计算装置、计算机可读存储介质及下背痛症状识别系统,旨在解决由于现有技术无法有效保障待测样本分类准确性的问题。The purpose of the present invention is to provide a sample training method, a classification method, a method for identifying lower back pain symptoms, a computing device, a computer-readable storage medium, and a system for identifying lower back pain symptoms. The problem of sample classification accuracy.
一方面,本发明提供了一种样本训练方法,所述方法包括下述步骤:In one aspect, the present invention provides a sample training method, which includes the following steps:
获得由属于第一类别的待训练样本构成的第一样本集合,所述第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的待训练样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中待训练样本相较于所述参考样本的特征变化之间具有显著差异的待训练样本构成的第三样本集合;A first sample set composed of samples to be trained belonging to the first category is obtained, and the first sample set includes: compared to reference samples belonging to the second category, the samples to be trained do not have significant differences in feature changes A second sample set of, and a sample to be trained that has a significant difference between the feature change compared to the reference sample and the feature change of the sample to be trained in the second sample set compared to the reference sample The third sample set formed;
对所述第一样本集合中待训练样本的特征、所述第三样本集合中待训练样本的特征进行机器学习分类方法的训练,分别对应得到第一分类器、第二分类器。The features of the samples to be trained in the first sample set and the features of the samples to be trained in the third sample set are trained by a machine learning classification method, and a first classifier and a second classifier are obtained correspondingly.
另一方面,本发明提供了一种分类方法,所述分类方法包括下述步骤:In another aspect, the present invention provides a classification method, which includes the following steps:
将待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示所述待测样本属于所述第一类别,则以所述第一判断结果作为分类结果,Input the characteristics of the sample to be tested into the first classifier for the first judgment, and if the obtained first judgment result indicates that the sample to be tested belongs to the first category, use the first judgment result as the classification result,
若所述第一判断结果指示所述待测样本不属于所述第一类别,则将所述待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示所述待测样本属于所述第一类别,则以所述第二判断结果作为分类结果,If the first judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to a second classifier for a second judgment; if the obtained second judgment result indicates the The sample to be tested belongs to the first category, and the second judgment result is used as a classification result,
其中,所述第一分类器对应的第一样本集合中的已分类样本以及所述第二分类器对应的第三样本集合中的已分类样本均属于第一类别,所述第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的已分类样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中已分类样本相较于所述参考样本的特征变化之间具有显著差异的已分类样本构成的所述第三样本集合。The classified samples in the first sample set corresponding to the first classifier and the classified samples in the third sample set corresponding to the second classifier both belong to the first category, and the first sample The set includes a second sample set composed of classified samples that have no significant difference in feature changes compared to reference samples belonging to the second category, and a feature change compared to the reference sample, and the first The third sample set composed of the classified samples with a significant difference between the classified samples in the two sample set compared to the reference sample.
另一方面,本发明还提供了一种下背痛症状识别方法,所述下背痛症状识别方法包括下述步骤:In another aspect, the present invention also provides a method for identifying symptoms of lower back pain, which includes the following steps:
获得待测者的腰部局部肌肉肌电信号;Obtain local electromyographic signals of the waist of the test subject;
对所述腰部局部肌肉肌电信号进行预处理,得到待测样本;Pre-processing the local electromyographic signal of the waist muscle to obtain a sample to be tested;
对所述待测样本进行处理,得到所述待测样本的特征;Processing the sample to be tested to obtain characteristics of the sample to be tested;
将所述待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示所述待测样本属于所述第一类别,则以所述第一判断结果作为分类结果,若所述第一判断结果指示所述待测样本不属于所述第一类别,则将所述待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示所述待测样本属于所述第一类别,则以所述第二判断结果作为分类结果,其中,所述第一分类器对应的第一样本集合中的已分类样本以及所述第二分类器对应的 第三样本集合中的已分类样本均属于第一类别,所述第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的已分类样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中已分类样本相较所述参考样本的特征变化之间具有显著差异的已分类样本构成的所述第三样本集合,所述第一类别为下背痛症状类别,所述第二类别为无下背痛症状类别。Input the characteristics of the sample to be tested into the first classifier for the first judgment, and if the obtained first judgment result indicates that the sample to be tested belongs to the first category, use the first judgment result as the classification result, If the first judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to a second classifier for a second judgment; if the obtained second judgment result indicates the The sample to be tested belongs to the first category, and the second judgment result is used as the classification result, wherein the classified samples in the first sample set corresponding to the first classifier and the second classifier correspond to The classified samples in the third sample set of the all belong to the first category, and the first sample set includes: the first sample set consisting of the classified samples that have no significant difference in feature changes compared to the reference samples belonging to the second category. A two-sample set, and a significant difference between a feature change compared to the reference sample and a feature change of a classified sample in the second sample set compared to the reference sample The third sample set composed of the classified samples, the first category is a category of lower back pain symptoms, and the second category is a category of no lower back pain symptoms.
另一方面,本发明还提供了一种计算装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述方法中的步骤。In another aspect, the present invention also provides a computing device including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is implemented when the computer program is executed. As in the steps above.
另一方面,本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述方法中的步骤。In another aspect, the present invention also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the method are implemented.
另一方面,本发明还提供了一种下背痛症状识别系统,所述下背痛症状识别系统包括:In another aspect, the present invention also provides a low back pain symptom recognition system, which includes:
采集模块,用于获得待测者的腰部局部肌肉肌电信号;An acquisition module, configured to obtain a local muscle electromyography signal of the waist of the subject;
预处理模块,用于对所述腰部局部肌肉肌电信号进行预处理,得到待测样本;A preprocessing module, configured to preprocess the myoelectric signals of the local muscles of the waist to obtain a sample to be tested;
特征提取模块,用于对所述待测样本进行处理,得到所述待测样本的特征;以及,A feature extraction module, configured to process the sample to be tested to obtain characteristics of the sample to be tested; and
分类模块,用于将所述待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示所述待测样本属于所述第一类别,则以所述第一判断结果作为分类结果,若所述第一判断结果指示所述待测样本不属于所述第一类别,则将所述待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示所述待测样本属于所述第一类别,则以所述第二判断结果作为分类结果,其中,所述第一分类器对应的第一样本集合中的已分类样本以及所述第二分类器对应的第三样本集合中的已分类样本均属于第一类别,所述第一样本 集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的已分类样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中已分类样本相较于所述参考样本的特征变化之间具有显著差异的已分类样本构成的所述第三样本集合,所述第一类别为下背痛症状类别,所述第二类别为无下背痛症状类别。A classification module, configured to input features of the sample to be tested into a first classifier for a first judgment, and if the obtained first judgment result indicates that the sample to be tested belongs to the first category, use the first judgment The result is a classification result. If the first judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to a second classifier for a second judgment. The judgment result indicates that the sample to be tested belongs to the first category, and the second judgment result is used as a classification result, wherein the classified samples in the first sample set corresponding to the first classifier and the classification The classified samples in the third sample set corresponding to the second classifier all belong to the first category, and the first sample set includes: those that have no significant difference in feature changes compared to the reference samples belonging to the second category A second sample set composed of classified samples, and a feature change of the feature compared to the reference sample, and a feature change of the classified sample in the second sample set compared to the reference sample The third sample set composed of classified samples with significant differences among them, the first category is a category of lower back pain symptoms, and the second category is a category of no lower back pain symptoms.
本发明将待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示所述待测样本属于所述第一类别,则以所述第一判断结果作为分类结果,若否,则将所述待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示所述待测样本属于所述第一类别,则以所述第二判断结果作为分类结果,其中,所述第一分类器对应的第一样本集合中的已分类样本以及所述第二分类器对应的第三样本集合中的已分类样本均属于第一类别,所述第一样本集合包含:由相较于第二类别的参考样本、特征变化不具有显著差异的已分类样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中已分类样本相较于所述参考样本的特征变化之间具有显著差异的已分类样本构成的所述第三样本集合。这样,第一分类器既考虑了属于第一类别的第二样本集合中样本特征相较于第二类别参考样本特征变化的普通性,也考虑了属于第一类别的第三样本集合中样本特征相较于第二类别参考样本特征变化的相对稀有性,从而能快速、较为准确地进行分类,而第二分类器重点考虑了属于第一类别的第三样本集合中样本特征相较于第二类别参考样本特征变化的稀有性,从而能在第一分类器的分类错误时对其进行修正性地再次分类,进而有效保证了待测样本分类的准确性。In the present invention, the characteristics of the sample to be tested are input to the first classifier for the first judgment. If the obtained first judgment result indicates that the sample to be tested belongs to the first category, the first judgment result is used as the classification result. If not, the characteristics of the sample to be tested are input to a second classifier for a second judgment. If the obtained second judgment result indicates that the sample to be tested belongs to the first category, the second judgment result is used. As a classification result, wherein the classified samples in the first sample set corresponding to the first classifier and the classified samples in the third sample set corresponding to the second classifier both belong to the first category, the The first sample set includes: a second sample set consisting of a reference sample that is compared to a second category, a classified sample that does not have a significant difference in feature change, and a feature change that is compared to the reference sample, and The third sample set composed of the classified samples having a significant difference between the classified samples in the second sample set and the feature changes of the reference sample. In this way, the first classifier considers not only the generality of the changes in the sample features in the second sample set belonging to the first category compared to the reference sample features in the second category, but also the sample features in the third sample set belonging to the first category. Relative rarity of feature changes compared to the second category of reference samples, so that classification can be performed quickly and accurately, while the second classifier focuses on the features of the samples in the third sample set belonging to the first category compared to the second The rarity of the feature change of the category reference sample can be used to correct the reclassification when the classification of the first classifier is wrong, thereby effectively ensuring the accuracy of the classification of the sample to be tested.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明实施例一提供的样本训练方法的实现流程图;FIG. 1 is an implementation flowchart of a sample training method provided by Embodiment 1 of the present invention;
图2是本发明实施例二提供的分类方法的实现流程图;FIG. 2 is an implementation flowchart of a classification method provided by Embodiment 2 of the present invention; FIG.
图3是本发明实施例三提供的下背痛症状识别方法的实现流程图;3 is a flowchart of a method for identifying symptoms of lower back pain provided by Embodiment 3 of the present invention;
图4是本发明实施例三中当患者位于不同运动状态下的分类识别准确率实验结果示意图;FIG. 4 is a schematic diagram of an experimental result of the classification recognition accuracy rate when the patient is in different motion states in Embodiment 3 of the present invention; FIG.
图5是本发明实施例四提供的计算装置的结构示意图;5 is a schematic structural diagram of a computing device according to a fourth embodiment of the present invention;
图6是本发明实施例六提供的下背痛症状识别系统的结构示意图。FIG. 6 is a schematic structural diagram of a lower back pain symptom recognition system according to a sixth embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
以下结合具体实施例对本发明的具体实现进行详细描述:The following describes the specific implementation of the present invention in detail with reference to specific embodiments:
实施例一:Embodiment one:
图1示出了本发明实施例一提供的样本训练方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG. 1 shows the implementation process of the sample training method provided in the first embodiment of the present invention. For convenience of explanation, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
在步骤S101中,获得由属于第一类别的待训练样本构成的第一样本集合,第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的待训练样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与第二样本集合中待训练样本相较于所述参考样本的特征变化之间具有显著差异的待训练样本构成的第三样本集合。In step S101, a first sample set consisting of to-be-trained samples belonging to a first category is obtained, and the first sample set includes: A second sample set composed of training samples, and a to-be-trained train that has a significant difference between the feature change compared to the reference sample and the feature change of the to-be-trained sample in the second sample set compared to the reference sample The sample constitutes a third sample set.
在本发明实施例中,第一样本集合中的待训练样本与第三样本集合中的待训练样本具有相同数量的指标参数,样本特征之间的差异可以通过计算所得距离进行指示。下面通过几个应用例进行说明。In the embodiment of the present invention, the to-be-trained samples in the first sample set and the to-be-trained samples in the third sample set have the same number of index parameters, and the difference between the sample features can be indicated by the calculated distance. The following uses several application examples to explain.
例如:采集的待训练样本均属于下背痛症状类别,相对则存在无下背痛症状类别(或为健康类别),这些待训练样本构成第一样本集合,该第一样本集合中包含有第二样本集合以及第三样本集合,其中,第二样本集合中的待训练样本类似:即相较于无下背痛症状类别参考样本(无下背痛症状样本或健康样本),特征变化不具有显著差异,可能是第二样本集合对应的下背痛患者的腰部局部 肌肉肌电信号处理所得的平均肌电值(Average Electromyography,AEMG)等相较于正常无下背痛症状者或健康者的AEMG等均发生同向变化,而第三样本集合中的待训练样本相较于上述参考样本的特征变化、与第二样本集合中的待训练样本相较于上述参考样本的特征变化之间具有显著差异,可能是第二样本集合对应的下背痛患者的AEMG等相较于正常无下背痛症状者或健康者的AEMG等发生同向变化,而第三样本集合对应的下背痛患者的AEMG等相较于正常无下背痛症状者或健康者的AEMG等变化方向,与第二样本集合对应的下背痛患者的AEMG等相较于正常无下背痛症状者或健康者的AEMG等变化方向相反,特征变化是否具有显著差异也可能会反映在相关指标参数的变化幅度上,而第二样本集合中待训练样本为多数而属于普通类别,第三样本集合中待训练样本为少数而属于稀有类别,但无论是第二样本集合中的待训练样本,还是第三样本集合中的待训练样本,都是属于下背痛症状类别。For example, the samples to be trained belong to the category of lower back pain symptoms, and relatively there are no categories of lower back pain symptoms (or health categories). These samples to be trained constitute a first sample set, and the first sample set contains There are a second set of samples and a third set of samples, where the samples to be trained in the second set of samples are similar: that is, the characteristics change compared to the reference sample with no back pain symptoms (no back pain symptoms or healthy samples) There is no significant difference. It may be that the average electromyography (AEMG) obtained by processing the local electromyographic signals of the lower back muscles of the patients with lower back pain corresponding to the second sample set is lower than that of those without normal back pain or healthy. The AEMG and other changes in the same direction, while the characteristics of the samples to be trained in the third sample set are changed compared to the characteristics of the above reference samples, and the characteristics of the samples to be trained in the second sample set are compared to the characteristics of the above reference samples. There is a significant difference between them. It may be that the AEMG of the patients with lower back pain corresponding to the second sample set is the same as that of the normal people who have no symptoms of lower back pain or healthy people. Changes in the AEMG and other aspects of patients with lower back pain corresponding to the third sample set compared with those of normal persons who have no symptoms of low back pain or healthy people, and the AEMG and other phases of patients with lower back pain corresponding to the second sample set Compared with normal people who have no symptoms of lower back pain or healthy people, such as AEMG, the direction of change is opposite. Whether there is a significant difference in feature changes may also be reflected in the change in the relevant index parameters, and the number of samples to be trained in the second sample set is the majority. It belongs to the ordinary category, and the samples to be trained in the third sample set are few and rare, but both the samples to be trained in the second sample set and the samples to be trained in the third sample set are symptoms of lower back pain category.
又例如:采集的待训练样本均属于情绪低落类别,相对则存在非情绪低落类别,这些待训练样本构成第一样本集合,该第一样本集合中包含有第二样本集合以及第三样本集合,其中,第二样本集合中的待训练样本类似:即相较于非情绪低落类别参考样本(情绪平和样本或情绪激动样本),特征变化不具有显著差异,可能是第二样本集合对应的情绪低落者的面部图像处理所得的眼部形态指示值等相较于情绪平和者的眼部形态指示值等均发生同向变化,而第三样本集合中的待训练样本相较于上述参考样本的特征变化、与第二样本集合中的待训练样本相较于上述参考样本的特征变化之间具有显著差异,可能是第二样本集合对应的情绪低落者的眼部形态指示值等相较于情绪平和者的眼部形态指示值等发生同向变化,而第三样本集合对应的情绪低落者的眼部形态指示值等相较于情绪平和者的眼部形态指示值等变化方向,与第二样本集合对应的情绪低落者的眼部形态指示值等相较于情绪平和者的眼部形态指示值等变化方向相反,而第二样本集合中待训练样本为多数而属于普通类别,第三样本集合中待训练样本为少数而属于稀有类别,但无论是第二样本集合中的待训练样本,还 是第三样本集合中的待训练样本,都是属于情绪低落类别。For another example: the collected samples to be trained belong to the low-emotion category, and there are relatively non-emotional categories. These to-be-trained samples constitute a first sample set, and the first sample set includes a second sample set and a third sample Set, where the samples to be trained in the second sample set are similar: that is, compared with the non-emotional low-level reference samples (emotion calm samples or emotional agitation samples), the feature changes do not have significant differences, which may be corresponding to the second sample set The eye shape indications and other values obtained from the facial image processing of the depressed person are changed in the same direction compared to the eye shape indications and the like of the person with a peaceful mood, and the samples to be trained in the third sample set are compared with the reference samples. There is a significant difference between the change in the feature value of the second sample set and the feature change of the sample to be trained in the second sample set compared to the reference sample, which may be the eye shape indicator value of the depressed person corresponding to the second sample set. The eye shape of the person with a peaceful mood changes in the same direction, and the eye shape of the person with low mood corresponding to the third sample set Compared with the direction of changes in the eye shape of the person who is at peace, the instruction value and other changes are compared with the values of the eye shape of the person at low mood corresponding to the second sample set. The direction is opposite, while the samples to be trained in the second sample set are majority and belong to the ordinary category, the samples to be trained in the third sample set are few and belong to the rare category, but whether it is the samples to be trained in the second sample set or the third The samples to be trained in the sample set all belong to the depressed mood category.
在步骤S102中,对第一样本集合中待训练样本的特征、第三样本集合中待训练样本的特征进行机器学习分类方法的训练,分别对应得到第一分类器、第二分类器。在本发明实施例中,在进行样本训练时,不仅需要待训练样本,也需要参考样本,从而训练得到分类器。由于训练所针对的样本集合不同,得到的第一分类器和第二分类器也不同。In step S102, the features of the samples to be trained in the first sample set and the features of the samples to be trained in the third sample set are trained by a machine learning classification method, and a first classifier and a second classifier are obtained correspondingly. In the embodiment of the present invention, when performing sample training, not only the samples to be trained, but also reference samples are needed, so as to train to obtain a classifier. Due to the different sets of samples targeted for training, the first and second classifiers obtained are also different.
在本发明实施例中,由于第一分类器既考虑了属于第一类别的第二样本集合中样本特征相较于第二类别参考样本特征变化的普通性,也考虑了属于第一类别的第三样本集合中样本特征相较于第二类别参考样本特征变化的稀有性,从而能为快速、较为准确地进行分类提供保障,而第二分类器重点考虑了属于第一类别的第三样本集合相较于第二类别参考样本特征变化的稀有性,从而能为在第一分类器的分类错误时对其进行修正性地再次分类而进一步提供保障,进而有效保证了待测样本分类准确性。In the embodiment of the present invention, because the first classifier considers both the generality of the changes in the sample features in the second sample set belonging to the first category compared to the reference sample features in the second category, and the first The rarity of the sample features in the three-sample set compared to the reference samples in the second category, which can provide fast and accurate classification. The second classifier focuses on the third sample set that belongs to the first category. Compared with the rarity of the characteristic changes of the reference sample of the second category, it can further provide a guarantee for the correct re-classification of the first classifier when it is incorrectly classified, thereby effectively ensuring the accuracy of the sample to be classified.
实施例二:Embodiment two:
图2示出了本发明实施例二提供的分类方法的实现流程,该分类方法基于实施例一所实现的第一分类器及第二分类器,第一分类器与第二分类器可进行级联,得到支持向量机(Support Vector Machine,SVM)分类器。为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG. 2 shows the implementation flow of the classification method provided in Embodiment 2 of the present invention. The classification method is based on the first classifier and the second classifier implemented in the first embodiment. The first classifier and the second classifier can perform stages. To obtain a Support Vector Machine (SVM) classifier. For ease of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
在步骤S201中,获得待测样本。In step S201, a sample to be tested is obtained.
在步骤S202中,对待测样本进行处理,得到待测样本的特征。In step S202, the sample to be tested is processed to obtain the characteristics of the sample to be tested.
在步骤S203中,将待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示待测样本属于第一类别,则执行步骤S204,否则,执行步骤S205。In step S203, the characteristics of the sample to be tested are input to the first classifier for the first judgment. If the obtained first judgment result indicates that the sample to be tested belongs to the first category, step S204 is performed; otherwise, step S205 is performed.
在步骤S204中,以第一判断结果作为分类结果。In step S204, the first determination result is used as the classification result.
在步骤S205中,将待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示待测样本属于第一类别,则执行步骤S206。In step S205, the characteristics of the sample to be tested are input to the second classifier for a second judgment. If the obtained second judgment result indicates that the sample to be tested belongs to the first category, step S206 is performed.
在步骤S206中,以第二判断结果作为分类结果。In step S206, the second judgment result is used as the classification result.
在本发明实施例中,由于第一分类器既考虑了属于第一类别的第二样本集合中样本特征相较于第二类别参考样本特征变化的普通性,也考虑了属于第一类别的第三样本集合中样本特征相较于第二类别参考样本特征变化的相对稀有性,从而能快速、较为准确地进行分类,而第二分类器重点考虑了属于第一类别的第三样本集合中样本特征相较于第二类别参考样本特征变化的稀有性,从而能在第一分类器的分类错误时对其进行修正性地再次分类,进而有效保证了待测样本分类准确性。In the embodiment of the present invention, because the first classifier considers both the generality of the changes in the sample features in the second sample set belonging to the first category compared to the reference sample features in the second category, and the first The relative rarity of the characteristics of the samples in the three sample set compared to the characteristics of the reference sample in the second category, so that the classification can be performed quickly and accurately. The second classifier focuses on the samples in the third sample set that belong to the first category. The rarity of feature changes compared to the reference samples of the second category, so that the first classifier can be reclassified in a correct manner when the classification is incorrect, thereby effectively ensuring the accuracy of the sample to be tested.
另外,如果在上述流程输入的是已知属于第一类别的测试样本,那么,如果通过第一分类器所得第一判断结果指示测试样本不属于第一类别,则第一分类器判断错误,说明该测试样本可能属于第三样本集合对应的类别,后续则需要进一步使用第二分类器对该测试样本进行判断,若通过第二分类器所得第二判断结果指示测试样本属于第一类别,则第二分类器判断正确,否则判断错误,如果累积判断错误所针对的测试样本数量较多时,则需要将这些测试样本作为上述第三样本集合中的待训练样本,重新进行训练,更新得到新的第一分类器和第二分类器。In addition, if a test sample that is known to belong to the first category is input in the above process, if the first judgment result obtained by the first classifier indicates that the test sample does not belong to the first category, the first classifier judges incorrectly, indicating that The test sample may belong to the category corresponding to the third sample set, and then the second classifier needs to be used to judge the test sample. If the second judgment result obtained by the second classifier indicates that the test sample belongs to the first category, the first The two classifiers make correct judgments, otherwise they make incorrect judgments. If the number of test samples targeted by cumulative judgment errors is large, these test samples need to be used as training samples in the third sample set, and retrained to update to obtain a new A classifier and a second classifier.
实施例三:Embodiment three:
图3示出了本发明实施例三提供的下背痛症状识别方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG. 3 shows the implementation flow of the method for identifying lower back pain symptoms provided by the third embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown, and the details are as follows:
在步骤S301中,获得待测者的腰部局部肌肉肌电信号。In step S301, a waist local muscle electromyogram signal of the subject is obtained.
在本发明实施例中,可通过在待测者的腰部肌肉表面粘贴电极片,电极片会记录神经肌肉活动时释放的生物电信号,即上述腰部局部肌肉肌电信号。In the embodiment of the present invention, an electrode sheet may be pasted on the surface of the waist muscle of the subject, and the electrode sheet records the bioelectrical signal released during the neuromuscular activity, that is, the above-mentioned local muscle electromyographic signal of the waist.
在步骤S302中,对腰部局部肌肉肌电信号进行预处理,得到待测样本。In step S302, pre-processing is performed on the lumbar local muscle EMG signal to obtain a test sample.
在本发明实施例中,预处理涉及对腰部局部肌肉肌电信号的滤波、去噪及标准化处理。肌电信号的有效频段为10-500赫兹,因此,所采集的原始信号要通过10-500赫兹带通滤波器进行处理。采集设备和我国电压220伏所产生工频 干扰50赫兹通常会对肌电信号造成干扰,因此,需要对信号进行50赫兹的工频去噪。由于不同个体之间存在差异性,为了消除这种差异性,使个体处于一致标准水平进行判断,滤波、去噪后的信号需要进行标准化处理,采用最大值归一化标准化算法,对每一次获得的肌电信号进行标准化处理,最终得到待测样本。In the embodiment of the present invention, the preprocessing involves filtering, denoising, and normalizing the myoelectric signals of local waist muscles. The effective frequency of the EMG signal is 10-500 Hz. Therefore, the original signal collected must be processed by a 10-500 Hz band-pass filter. The 50 Hz power frequency interference generated by the acquisition equipment and China's voltage of 220 volts usually causes interference to the EMG signal. Therefore, the power frequency denoising of the signal needs to be performed at 50 Hz. Due to the differences between different individuals, in order to eliminate this difference and make individuals judge at a consistent standard level, the filtered and denoised signals need to be standardized, and the maximum normalization normalization algorithm is used to obtain each time The EMG signals are standardized and finally the test sample is obtained.
在步骤S303中,对待测样本进行处理,得到待测样本的特征。In step S303, the sample to be tested is processed to obtain the characteristics of the sample to be tested.
在本发明实施例中,可对待测样本进行时域和频域的、表现肌肉功能状态的指标参数进行筛选,得到时域指标参数:AEMG、肌电均方根(Root Mean Square,RMS)、肌肉共同收缩率(Co-contraction Ratio,CCR)以及样本熵(Sample Entropy,SamEn),以及频域指标参数:平均功率频率(Mean Spectral Frequency,MPF)以及中位频率(Median Frequency,MDF)。其中,AEMG很大程度上表现所选肌肉在给定任务或给定动作下表面肌电的支配输出;RMS与肌电信号的能量直接联系,常常被用于体现产生肌电的能量;CCR体现特定任务下各肌肉的协调能力;SamEn体现了在特定任务下,肌肉运动模式的复杂性;MPF代表了肌电信号频谱的重心频率;MDF代表了其小于MPF部分的总功率与大于MPF部分的总功率相等,这两个指标反映了肌肉的疲劳程度。In the embodiment of the present invention, time-domain and frequency-domain index parameters representing muscle function status can be screened for the sample to be measured, and time-domain index parameters are obtained: AEMG, Root Mean Square (RMS), Co-contraction ratio (CCR), sample entropy (SamEn), and frequency-domain index parameters: Mean Power Frequency (Mean), Frequency (MPF), and Median Frequency (MDF). Among them, AEMG largely represents the dominating output of the surface electromyography of the selected muscle under a given task or given action; RMS is directly related to the energy of the electromyographic signal and is often used to reflect the energy that generates myoelectricity; CCR reflects The coordination ability of each muscle in a specific task; SamEn reflects the complexity of muscle movement patterns in a specific task; MPF represents the center of gravity frequency of the EMG signal spectrum; MDF represents its total power less than the MPF part and greater than the MPF part The total power is equal, these two indicators reflect the degree of muscle fatigue.
各指标参数计算如下:The parameters of each indicator are calculated as follows:
Figure PCTCN2018100711-appb-000001
Figure PCTCN2018100711-appb-000001
Figure PCTCN2018100711-appb-000002
Figure PCTCN2018100711-appb-000002
Figure PCTCN2018100711-appb-000003
Figure PCTCN2018100711-appb-000003
公式(1-1)中,N代表肌电信号的样本点数,Data[i]表示一段时间长度的原始肌电信号,具体指一段时间长度的时间序列信号,一个时间点对应一个电压值,如i取10,则指10个点的连续电压值;公式(1-2)中分子部分表示拮抗肌肌肉信号平均肌电值,分母部分表示所有测试的拮抗肌和主动肌的平均肌 电值,平均肌电值也是指所有时间点的电压值求和再平均所得的瞬时电压值。In formula (1-1), N represents the number of sample points of the EMG signal, and Data [i] represents the original EMG signal of a period of time, specifically a time series signal of a period of time. One time point corresponds to a voltage value, such as If i is 10, it refers to the continuous voltage value of 10 points. In the formula (1-2), the molecular part represents the average EMG value of the antagonist muscle muscle signal, and the denominator part represents the average EMG value of all the antagonist muscles and active muscles tested. The mean EMG value is also the instantaneous voltage value obtained by summing and averaging the voltage values at all time points.
SamEn是将原始数据x(1),x(2),x(3),.......,x(K)共K个点的数据,组成m维矢量,其中,K是总的数据长度,m是矢量维数,即通过算法将数据总长度转换为如下公式(1-4)所示的m维矢量,m取值为:m<K。SamEn is a set of data consisting of K points of the original data x (1), x (2), x (3), ..., x (K), where K is the total Data length, m is the vector dimension, that is, the total length of the data is converted into an m-dimensional vector as shown in the following formula (1-4) by an algorithm. The value of m is: m <K.
X(i)=[x(i),x(i+1),...,x(i+m-1)]X (i) = [x (i), x (i + 1), ..., x (i + m-1)]
i=1,2,....,K-m+1......(1-4)i = 1, 2, ..., K-m + 1 ... (1-4)
定义矢量X(i)和矢量X(j)之间的距离为:Define the distance between vector X (i) and vector X (j) as:
d[X(i),X(j)]=max|x(i+k)-x(j-k)|......(1-5)d [X (i), X (j)] = max | x (i + k) -x (j-k) | ...... (1-5)
其中,k=0,1,2,...,m-1,1≤i,j≤K-m+1,给定相似容限r,计算当1≤i≤K-m时,d[X(i),X(j)]<r的数目与矢量总数K-m-1的比值,该比值如公式(1-6)所示,其中,d[X(i),X(j)]<r的数目指的是,矢量x(i)与x(j)之间的距离小于r的所有样本点的数量之和。Among them, k = 0,1,2, ..., m-1,1≤i, j≤K-m + 1, given the similarity tolerance r, calculate d [X ( i), X (j)] <r The ratio of the number of r to the total number of vectors Km-1, the ratio is shown in formula (1-6), where d [X (i), X (j)] <r The number refers to the sum of the number of all sample points whose distance between the vectors x (i) and x (j) is less than r.
Figure PCTCN2018100711-appb-000004
Figure PCTCN2018100711-appb-000004
对于i所有的平均值为:All averages for i are:
Figure PCTCN2018100711-appb-000005
Figure PCTCN2018100711-appb-000005
将维数加1可得:Adding 1 to the dimension gives:
Figure PCTCN2018100711-appb-000006
Figure PCTCN2018100711-appb-000006
当K为有限值时,该序列的样本熵SamEn为:When K is finite, the sample entropy SamEn of the sequence is:
Figure PCTCN2018100711-appb-000007
Figure PCTCN2018100711-appb-000007
公式(1-9)中m表示最大模板长度,r表示匹配公差,K为总的数据长度。一般m取值为1或2,r取值范围为[0.1SD,0.25SD],SD是时间序列的标准差(Standard Deviation),在具体应用例中,m可取值为2,r取值为0.15,整个数据长度为10000样本点。In formula (1-9), m represents the maximum template length, r represents the matching tolerance, and K is the total data length. Generally, the value of m is 1 or 2, and the range of r is [0.1SD, 0.25SD]. SD is the standard deviation of the time series (Standard Deviation). In the specific application example, m can take the value of 2, and r can take the value. Is 0.15, and the entire data length is 10,000 sample points.
Figure PCTCN2018100711-appb-000008
Figure PCTCN2018100711-appb-000008
Figure PCTCN2018100711-appb-000009
Figure PCTCN2018100711-appb-000009
上述公式中,PSD为功率谱密度(Power Spectral Density)。In the above formula, PSD is Power Spectral Density.
在172位测试者中获取每位测试者六块肌肉:左右侧腹内斜肌、腹外斜肌、竖脊肌/多裂肌的肌电信号,经过特征提取,得到31项肌肉功能指标参数作为特征,分别为左侧腹内斜肌AEMG、右侧腹内斜肌AEMG、左腹外斜肌AEMG、右侧腹外斜肌AEMG、左侧竖脊肌/多裂肌AEMG、右侧竖脊肌/多裂肌AEMG、六块肌肉的整体协调性参数CCR、左侧腹内斜肌RMS、右侧腹内斜肌RMS、左腹外斜肌RMS、右侧腹外斜肌RMS、左侧竖脊肌/多裂肌RMS、右侧竖脊肌/多裂肌RMS、左侧腹内斜肌SamEn、右侧腹内斜肌SamEn、左腹外斜肌SamEn、右侧腹外斜肌SamEn、左侧竖脊肌/多裂肌SamEn、右侧竖脊肌/多裂肌SamEn、左侧腹内斜肌MPF、右侧腹内斜肌MPF、左腹外斜肌MPF、右侧腹外斜肌MPF、左侧竖脊肌/多裂肌MPF、右侧竖脊肌/多裂肌MPF、左侧腹内斜肌MDF、右侧腹内斜肌MDF、左腹外斜肌MDF、右侧腹外斜肌MDF、左侧竖脊肌/多裂肌MDF、右侧竖脊肌/多裂肌MDF,从而这些特征可以用于样本训练以及后续的分类识别。Six muscles of each tester were obtained from 172 testers: left and right lateral oblique muscles, external oblique muscles, erector spinae / multifidus muscles. After feature extraction, 31 muscle function parameters were obtained. Characteristically, they are left internal oblique AEMG, right internal oblique AEMG, left external oblique AEMG, right external oblique AEMG, left erector spinae / multisplit AEMG, and right vertical Spinal / multifidus AEMG, Six-muscle overall coordination parameter CCR, Left internal oblique RMS, Right internal oblique RMS, Left external oblique RMS, Right external oblique RMS, Left Side erector spinae / polysacral RMS, right erector spine / polysacral RMS, left internal oblique SamEn, right internal oblique SamEn, left external oblique SamEn, right external oblique SamEn, left erector spinae / multifidus SamEn, right erector spinae / multifidus SamEn, left inner oblique muscle MPF, right inner oblique muscle MPF, left outer oblique muscle MPF, right abdomen Outer oblique muscle MPF, left erector spinae / multifidus MPF, right erector spinae / multifidus MPF, left internal oblique MDF, right internal oblique MDF, left external oblique MDF, Right external oblique MDF, left vertical spine / Multifidus muscle MDF, right erector spinae / multifidus muscle MDF, so that these features can be used for training samples and the subsequent classification.
在步骤S304中,将待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示待测样本属于第一类别,则以第一判断结果作为分类结果,若第一判断结果指示待测样本不属于第一类别,则将待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示待测样本属于第一类别,则以第二判断结果作为分类结果。In step S304, the characteristics of the sample to be tested are input to the first classifier for the first judgment. If the obtained first judgment result indicates that the sample to be tested belongs to the first category, the first judgment result is used as the classification result. If the judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to the second classifier for a second judgment. If the obtained second judgment result indicates that the sample to be tested belongs to the first category, the second judgment is used. The results are used as classification results.
在本发明实施中,第一分类器对应的第一样本集合中的已分类样本以及第二分类器对应的第三样本集合中的已分类样本均属于第一类别,第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的已分类 样本构成的第二样本集合,以及,由相较于参考样本的特征变化、与第二样本集合中已分类样本相较于所述参考样本的特征变化之间具有显著差异的已分类样本构成的第三样本集合,第一类别为下背痛症状类别,而第二类别为无下背痛症状类别或健康类别。In the implementation of the present invention, the classified samples in the first sample set corresponding to the first classifier and the classified samples in the third sample set corresponding to the second classifier both belong to the first category, and the first sample set includes : A second sample set composed of classified samples that do not have significant differences in feature changes compared to a reference sample belonging to the second category, and a classification of the second sample set that consists of feature changes compared to reference samples A third sample set consisting of classified samples that have significant differences between the feature changes of the reference sample compared to the reference sample, the first category is the category of lower back pain symptoms, and the second category is the category without lower back pain symptoms or health category.
由于第一分类器既考虑了属于第一类别的第二样本集合中样本特征相较于第二类别参考样本特征变化的普通性,也考虑了属于第一类别的第三样本集合中样本特征相较于第二类别参考样本特征变化的相对稀有性,从而能快速、较为准确地进行分类,而第二分类器重点考虑了属于第一类别的第三样本集合中样本特征相较于第二类别参考样本特征变化的稀有性,从而能在第一分类器的分类错误时对其进行修正性地再次分类,进而有效保证了下背痛症状分类识别的准确性;另外,基于下背痛症状患者时域、频域的31种指标参数,能更加全面地反映患者的疾病表征,且该方法应用时可达到低成本、无创、无辐射的效果。Because the first classifier considers both the generality of the sample features in the second sample set belonging to the first category compared to the reference sample features in the second category, and also considers the sample feature phases in the third sample set belonging to the first category Relative rarity of feature changes compared to the second category of reference samples, so that classification can be performed quickly and accurately, while the second classifier focuses on the features of the samples in the third sample set belonging to the first category compared to the second category The rarity of the change in the reference sample characteristics can be used to correct the reclassification of the first classifier when it is incorrectly classified, thereby effectively ensuring the accuracy of classification and recognition of lower back pain symptoms; in addition, patients based on lower back pain symptoms The 31 index parameters in the time and frequency domains can more fully reflect the patient's disease characterization, and the method can achieve low-cost, non-invasive, non-radiation effects when applied.
优选的,采用上述下背痛症状识别方法对172名中89例正常无下背痛症状者和83例下背痛症状患者进行分类识别,识别结果如图4所示,结果显示:在人体不同运动状态下,识别的准确率有一定差异,具体表现在:前倾状态下,识别下背痛的准确率为96.08%;在后仰状态下,识别下背痛的准确率为89.13%;在左倾状态下,识别下背痛的准确率为88.89%;在右倾状态下,识别下背痛的准确率为90.38%,所以四种运动方式下,均可以较好地区分无痛人群和下背痛人群。通过四种运动状态的识别效果可以看出,在进行下背痛症状识别时,应该选择合适的人体运动状态以提高分类识别的准确率,例如前倾运动模态,或右倾运动模态。再者,二级分类器分类识别效果显著优于一级分类器的分类识别效果。Preferably, the above-mentioned method for identifying low back pain is used to classify and identify 89 of 172 patients with normal low back pain and 83 patients of low back pain. The recognition result is shown in FIG. 4, and the results show that: There is a certain difference in the accuracy of recognition in the state of motion. The specific performance is as follows: in the forward lean state, the accuracy of identifying low back pain is 96.08%; in the backward state, the accuracy of identifying low back pain is 89.13%; In the left-leaning state, the accuracy rate of identifying low back pain is 88.89%; in the right-leaning state, the accuracy rate of identifying low back pain is 90.38%, so the four types of exercise can better distinguish between painless people and lower back. Painful crowd. It can be seen from the recognition effect of the four motion states that when identifying the symptoms of lower back pain, an appropriate human motion state should be selected to improve the accuracy of classification and recognition, such as forward leaning motion mode or right leaning motion mode. Furthermore, the classification and recognition effect of the second-level classifier is significantly better than that of the first-level classifier.
实施例四:Embodiment 4:
图5示出了本发明实施例四提供的计算装置的结构,为了便于说明,仅示出了与本发明实施例相关的部分。FIG. 5 shows a structure of a computing device provided in Embodiment 4 of the present invention. For convenience of explanation, only parts related to the embodiment of the present invention are shown.
本发明实施例的计算装置包括处理器501、存储器502以及存储在存储器502中并可在处理器501上运行的计算机程序503。该处理器501执行计算机程序503时实现上述各个方法实施例中的步骤,例如图1所示的步骤S101至S102等。The computing device according to the embodiment of the present invention includes a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501. When the processor 501 executes the computer program 503, the steps in the foregoing method embodiments are implemented, for example, steps S101 to S102 shown in FIG. 1 and the like.
本发明实施例的计算装置可以为个人电脑、智能手机、平板电脑等。该计算装置中处理器501执行计算机程序503时实现上述方法时实现的步骤可参考前述方法实施例的描述,在此不再赘述。The computing device in the embodiment of the present invention may be a personal computer, a smart phone, a tablet computer, or the like. For the steps implemented when the processor 501 executes the computer program 503 in the computing device to implement the foregoing method, reference may be made to the description of the foregoing method embodiment, and details are not described herein again.
实施例五:Embodiment 5:
在本发明实施例中,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例中的步骤,例如,图1所示的步骤S101至S102等。In the embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the foregoing method embodiment are implemented, for example, as shown in FIG. 1. The steps S101 to S102 are shown.
本发明实施例的计算机可读存储介质可以包括能够携带计算机程序代码的任何实体或装置、记录介质,例如,ROM/RAM、磁盘、光盘、闪存等存储器。The computer-readable storage medium of the embodiment of the present invention may include any entity or device capable of carrying computer program code, a recording medium, for example, a memory such as a ROM / RAM, a magnetic disk, an optical disk, a flash memory, or the like.
实施例六:Embodiment 6:
图6示出了本发明实施例三提供的下背痛症状识别系统的结构,为了便于说明,仅示出了与本发明实施例相关的部分,其中包括:FIG. 6 shows a structure of a lower back pain symptom recognition system provided in Embodiment 3 of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown, including:
采集模块601,用于获得待测者的腰部局部肌肉肌电信号;An acquisition module 601, configured to obtain a local muscle electromyography signal of a waist of a person to be measured;
预处理模块602,用于对腰部局部肌肉肌电信号进行预处理,得到待测样本;A preprocessing module 602, configured to preprocess the myoelectric signals of the local muscles of the waist to obtain a test sample;
特征提取模块603,用于对待测样本进行处理,得到作为待测样本的特征;以及,A feature extraction module 603, configured to process the sample to be tested to obtain features as the sample to be tested; and
分类模块604,用于待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示待测样本属于第一类别,则以第一判断结果作为分类结果,若第一判断结果指示待测样本不属于第一类别,则将待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示待测样本属于第一类别,则以第二判断结果作为分类结果,其中,第一分类器对应的第一样本集合中的 已分类样本以及第二分类器对应的第三样本集合中的已分类样本均属于第一类别,第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的已分类样本构成的第二样本集合,以及,由相较于参考样本的特征变化、与第二样本集合中已分类样本相较于所述参考样本的特征变化之间具有显著差异的已分类样本构成的第三样本集合,第一类别为下背痛症状类别,而第二类别为无下背痛症状类别或健康类别。The classification module 604 is configured to input the characteristics of the sample to be tested into the first classifier for the first judgment. If the obtained first judgment result indicates that the sample to be tested belongs to the first category, the first judgment result is used as the classification result. If the judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to the second classifier for a second judgment. If the obtained second judgment result indicates that the sample to be tested belongs to the first category, the second judgment is used. The result is the classification result, where the classified samples in the first sample set corresponding to the first classifier and the classified samples in the third sample set corresponding to the second classifier both belong to the first category, and the first sample set Contains: a second sample set composed of classified samples that have no significant difference in feature changes compared to a reference sample belonging to the second category, and a feature change compared to the reference sample that has been in the second sample set. The classified sample is a third sample set composed of classified samples that have significant differences between the feature changes of the reference sample, and the first category is lower back pain Symptoms category, while the second category is no lower back pain symptoms category or health category.
在本实施例中,该下背痛症状识别系统实现上述方法时实现的步骤可参考前述方法实施例的描述,在此不再赘述。In this embodiment, for the steps implemented when the lower back pain symptom recognition system implements the foregoing method, reference may be made to the description of the foregoing method embodiment, and details are not described herein again.
在本实施例中,下背痛症状识别系统的各模块可由相应的硬件或软件单元实现,各单元可以为独立的软、硬件单元,也可以集成为一个软、硬件单元,在此不用以限制本发明。In this embodiment, each module of the low back pain symptom recognition system may be implemented by corresponding hardware or software units, and each unit may be an independent software and hardware unit, or may be integrated into one software and hardware unit, which need not be limited here. this invention.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiments of the present invention, and is not intended to limit the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention shall be included in the protection of the present invention. Within range.

Claims (10)

  1. 一种样本训练方法,其特征在于,所述方法包括下述步骤:A sample training method, characterized in that the method includes the following steps:
    获得由属于第一类别的待训练样本构成的第一样本集合,所述第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的待训练样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中待训练样本相较于所述参考样本的特征变化之间具有显著差异的待训练样本构成的第三样本集合;A first sample set composed of samples to be trained belonging to the first category is obtained, and the first sample set includes: compared to reference samples belonging to the second category, the samples to be trained do not have significant differences in feature changes A second sample set of, and a sample to be trained that has a significant difference between the feature change compared to the reference sample and the feature change of the sample to be trained in the second sample set compared to the reference sample The third sample set formed;
    对所述第一样本集合中待训练样本的特征、所述第三样本集合中待训练样本的特征进行机器学习分类方法的训练,分别对应得到第一分类器、第二分类器。The features of the samples to be trained in the first sample set and the features of the samples to be trained in the third sample set are trained by a machine learning classification method, and a first classifier and a second classifier are obtained correspondingly.
  2. 一种分类方法,其特征在于,所述分类方法包括下述步骤:A classification method, wherein the classification method includes the following steps:
    将待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示所述待测样本属于所述第一类别,则以所述第一判断结果作为分类结果,Input the characteristics of the sample to be tested into the first classifier for the first judgment, and if the obtained first judgment result indicates that the sample to be tested belongs to the first category, use the first judgment result as the classification result,
    若所述第一判断结果指示所述待测样本不属于所述第一类别,则将所述待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示所述待测样本属于所述第一类别,则以所述第二判断结果作为分类结果,If the first judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to a second classifier for a second judgment; if the obtained second judgment result indicates the The sample to be tested belongs to the first category, and the second judgment result is used as a classification result,
    其中,所述第一分类器对应的第一样本集合中的已分类样本以及所述第二分类器对应的第三样本集合中的已分类样本均属于第一类别,所述第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的已分类样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中已分类样本相较于所述参考样本的特征变化之间具有显著差异的已分类样本构成的所述第三样本集合。The classified samples in the first sample set corresponding to the first classifier and the classified samples in the third sample set corresponding to the second classifier both belong to the first category, and the first sample The set includes a second sample set composed of classified samples that have no significant difference in feature changes compared to reference samples belonging to the second category, and a feature change compared to the reference sample, and the first The third sample set composed of the classified samples with a significant difference between the classified samples in the two sample set compared to the reference sample.
  3. 一种下背痛症状识别方法,其特征在于,所述下背痛症状识别方法包括下述步骤:A method for identifying symptoms of lower back pain, wherein the method for identifying symptoms of lower back pain includes the following steps:
    获得待测者的腰部局部肌肉肌电信号;Obtain local electromyographic signals of the waist of the test subject;
    对所述腰部局部肌肉肌电信号进行预处理,得到待测样本;Pre-processing the local electromyographic signal of the waist muscle to obtain a sample to be tested;
    对所述待测样本进行处理,得到所述待测样本的特征;Processing the sample to be tested to obtain characteristics of the sample to be tested;
    将所述待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示所述待测样本属于所述第一类别,则以所述第一判断结果作为分类结果,若所述第一判断结果指示所述待测样本不属于所述第一类别,则将所述待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示所述待测样本属于所述第一类别,则以所述第二判断结果作为分类结果,其中,所述第一分类器对应的第一样本集合中的已分类样本以及所述第二分类器对应的第三样本集合中的已分类样本均属于第一类别,所述第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的已分类样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中已分类样本相较所述参考样本的特征变化之间具有显著差异的已分类样本构成的所述第三样本集合,所述第一类别为下背痛症状类别,所述第二类别为无下背痛症状类别。Input the characteristics of the sample to be tested into the first classifier for the first judgment, and if the obtained first judgment result indicates that the sample to be tested belongs to the first category, use the first judgment result as the classification result, If the first judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to a second classifier for a second judgment; if the obtained second judgment result indicates the The sample to be tested belongs to the first category, and the second judgment result is used as the classification result, wherein the classified samples in the first sample set corresponding to the first classifier and the second classifier correspond to The classified samples in the third sample set of the all belong to the first category, and the first sample set includes: the first sample set consisting of the classified samples that have no significant difference in feature changes compared to the reference samples belonging to the second category. A two-sample set, and a significant difference between a feature change compared to the reference sample and a feature change of a classified sample in the second sample set compared to the reference sample The classification of samples constituting a third sample set, the first symptoms of low back pain is a category category, the second category is a category no lower back pain symptoms.
  4. 一种计算装置,其特征在于,所述计算装置包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至3任一项所述方法中的步骤。A computing device, characterized in that the computing device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the processor A computer program implements the steps in the method according to any one of claims 1 to 3.
  5. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至3任一项所述方法中的步骤。A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 3 are implemented.
  6. 一种下背痛症状识别系统,其特征在于,所述下背痛症状识别系统包括:A low back pain symptom recognition system, characterized in that the low back pain symptom recognition system includes:
    采集模块,用于获得待测者的腰部局部肌肉肌电信号;An acquisition module, configured to obtain a local muscle electromyography signal of the waist of the subject;
    预处理模块,用于对所述腰部局部肌肉肌电信号进行预处理,得到待测样本;A preprocessing module, configured to preprocess the myoelectric signals of the local muscles of the waist to obtain a sample to be tested;
    特征提取模块,用于对所述待测样本进行处理,得到所述待测样本的特征;以及,A feature extraction module, configured to process the sample to be tested to obtain characteristics of the sample to be tested; and
    分类模块,用于将所述待测样本的特征输入第一分类器进行第一次判断,若所得第一判断结果指示所述待测样本属于所述第一类别,则以所述第一判断结果作为分类结果,若所述第一判断结果指示所述待测样本不属于所述第一类别,则将所述待测样本的特征输入第二分类器进行第二次判断,若所得第二判断结果指示所述待测样本属于所述第一类别,则以所述第二判断结果作为分类结果,其中,所述第一分类器对应的第一样本集合中的已分类样本以及所述第二分类器对应的第三样本集合中的已分类样本均属于第一类别,所述第一样本集合包含:由相较于属于第二类别的参考样本、特征变化不具有显著差异的已分类样本构成的第二样本集合,以及,由相较于所述参考样本的特征变化、与所述第二样本集合中已分类样本相较于所述参考样本的特征变化之间具有显著差异的已分类样本构成的所述第三样本集合,所述第一类别为下背痛症状类别,所述第二类别为无下背痛症状类别。A classification module, configured to input features of the sample to be tested into a first classifier for a first judgment, and if the obtained first judgment result indicates that the sample to be tested belongs to the first category, use the first judgment The result is a classification result. If the first judgment result indicates that the sample to be tested does not belong to the first category, the characteristics of the sample to be tested are input to a second classifier for a second judgment. The judgment result indicates that the sample to be tested belongs to the first category, and the second judgment result is used as a classification result, wherein the classified samples in the first sample set corresponding to the first classifier and the classification The classified samples in the third sample set corresponding to the second classifier all belong to the first category, and the first sample set includes: those that have no significant difference in feature changes compared to the reference samples belonging to the second category A second sample set composed of classified samples, and a feature change of the feature compared to the reference sample, and a feature change of the classified sample in the second sample set compared to the reference sample The classified sample configuration of a third set of samples having a significant difference, the first symptoms of low back pain is a category category, the second category is a category no lower back pain symptoms.
  7. 如权利要求6所述的下背痛症状识别系统,其特征在于,所述特征涉及如下指标参数中的一种或多种:左侧腹内斜肌平均肌电值AEMG、右侧腹内斜肌AEMG、左腹外斜肌AEMG、右侧腹外斜肌AEMG、左侧竖脊肌/多裂肌AEMG、右侧竖脊肌/多裂肌AEMG、六块肌肉的整体协调性参数肌肉共同收缩率CCR、左侧腹内斜肌肌电均方根RMS、右侧腹内斜肌RMS、左腹外斜肌RMS、右侧腹外斜肌RMS、左侧竖脊肌/多裂肌RMS、右侧竖脊肌/多裂肌RMS、左侧腹内斜肌样本熵SamEn、右侧腹内斜肌SamEn、左腹外斜肌SamEn、右侧腹外斜肌SamEn、左侧竖脊肌/多裂肌SamEn、右侧竖脊肌/多裂肌SamEn、左侧腹内斜肌平均功率频率MPF、右侧腹内斜肌MPF、左腹外斜肌MPF、右侧腹外斜肌MPF、左侧竖脊肌/多裂肌MPF、右侧竖脊肌/多裂肌MPF、左侧腹内斜肌中位频率MDF、右侧腹内斜肌MDF、左腹外斜肌MDF、右侧腹外斜肌MDF、左侧竖脊肌/多裂肌MDF、右侧竖脊肌/多裂肌MDF。The low back pain symptom recognition system according to claim 6, characterized in that the feature relates to one or more of the following index parameters: the left intraabdominal oblique muscle average electromyography value AEMG, and the right intraabdominal oblique Muscles AEMG, left external oblique AEMG, right external oblique AEMG, left erector spinae / multisplitter AEMG, right erector spinae / multisplitter AEMG, overall coordination parameters of the six muscles Contraction rate CCR, left internal oblique muscle EMG RMS, right internal oblique RMS, left external oblique RMS, right external oblique RMS, left erector spinae / multifidus RMS , Right erector spinae / multifidus RMS, Left internal oblique sample entropy SamEn, Right internal oblique Sam Sam, left external oblique SamEn, right external oblique SamEn, left right spine / Multifidus SamEn, right erector spinae / multifidus SamEn, left internal oblique muscle average power frequency MPF, right internal oblique muscle MPF, left external oblique muscle MPF, right external oblique muscle MPF , Left erector spinae / multifidus MPF, Right erector spinae / multifidus MPF, Left medial oblique median frequency MDF, Right medial oblique MDF, Left medial oblique MDF, Right Lateral external oblique MDF, left Erector spinae / multifidus muscle MDF, on the right erector spinae / multifidus muscle MDF.
  8. 如权利要求6所述的下背痛症状识别系统,其特征在于,所述采集模块具体用于:The low back pain symptom recognition system according to claim 6, wherein the acquisition module is specifically configured to:
    获得预定运动状态下的待测者的腰部局部肌肉肌电信号,所述运动状态为前倾状态、后仰状态、左倾状态或右倾状态。A local electromyographic signal of the waist of a subject under test in a predetermined motion state is obtained, and the motion state is a forward leaning state, a backward leaning state, a left leaning state, or a right leaning state.
  9. 如权利要求6所述的下背痛症状识别系统,其特征在于,所述预处理模块具体用于:The lower back pain symptom recognition system according to claim 6, wherein the preprocessing module is specifically configured to:
    对所述腰部局部肌肉肌电信号进行滤波、去噪及标准化处理。Filtering, denoising, and normalizing the myoelectric signals of the lumbar local muscles.
  10. 如权利要求9所述的下背痛症状识别系统,其特征在于,所述预处理模块包括:The low back pain symptom recognition system according to claim 9, wherein the preprocessing module comprises:
    10-500赫兹带通滤波器、50赫兹工频去噪器以及最大值归一化标准化单元。10-500 Hz band-pass filter, 50 Hz power frequency denoiser and maximum normalization normalization unit.
PCT/CN2018/100711 2018-08-15 2018-08-15 Sample training method, classification method, identification method, device, medium, and system WO2020034126A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/100711 WO2020034126A1 (en) 2018-08-15 2018-08-15 Sample training method, classification method, identification method, device, medium, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/100711 WO2020034126A1 (en) 2018-08-15 2018-08-15 Sample training method, classification method, identification method, device, medium, and system

Publications (1)

Publication Number Publication Date
WO2020034126A1 true WO2020034126A1 (en) 2020-02-20

Family

ID=69524638

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/100711 WO2020034126A1 (en) 2018-08-15 2018-08-15 Sample training method, classification method, identification method, device, medium, and system

Country Status (1)

Country Link
WO (1) WO2020034126A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113921144A (en) * 2021-09-23 2022-01-11 清华大学 Disease prediction set processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130232095A1 (en) * 2008-06-26 2013-09-05 Microsoft Corporation Recognizing finger gestures from forearm emg signals
CN103425991A (en) * 2012-05-15 2013-12-04 富士通株式会社 Method and device for classifying targets in video
CN105512620A (en) * 2015-11-30 2016-04-20 北京天诚盛业科技有限公司 Convolutional neural network training method and apparatus for face recognition
CN107067023A (en) * 2017-01-10 2017-08-18 苏州大学 A kind of method for diagnosing faults and device
CN107273500A (en) * 2017-06-16 2017-10-20 中国电子技术标准化研究院 Text classifier generation method, file classification method, device and computer equipment
CN108309328A (en) * 2018-01-31 2018-07-24 南京邮电大学 A kind of Emotion identification method based on adaptive fuzzy support vector machines
CN108388924A (en) * 2018-03-08 2018-08-10 平安科技(深圳)有限公司 A kind of data classification method, device, equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130232095A1 (en) * 2008-06-26 2013-09-05 Microsoft Corporation Recognizing finger gestures from forearm emg signals
CN103425991A (en) * 2012-05-15 2013-12-04 富士通株式会社 Method and device for classifying targets in video
CN105512620A (en) * 2015-11-30 2016-04-20 北京天诚盛业科技有限公司 Convolutional neural network training method and apparatus for face recognition
CN107067023A (en) * 2017-01-10 2017-08-18 苏州大学 A kind of method for diagnosing faults and device
CN107273500A (en) * 2017-06-16 2017-10-20 中国电子技术标准化研究院 Text classifier generation method, file classification method, device and computer equipment
CN108309328A (en) * 2018-01-31 2018-07-24 南京邮电大学 A kind of Emotion identification method based on adaptive fuzzy support vector machines
CN108388924A (en) * 2018-03-08 2018-08-10 平安科技(深圳)有限公司 A kind of data classification method, device, equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113921144A (en) * 2021-09-23 2022-01-11 清华大学 Disease prediction set processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
Wu et al. Assess sleep stage by modern signal processing techniques
Güler et al. Classification of EMG signals using PCA and FFT
EP2498676B1 (en) Brain activity as a marker of disease
CN105411565B (en) Heart rate variability tagsort method based on broad sense multi-scale wavelet entropy
Alvarez et al. Assessment of feature selection and classification approaches to enhance information from overnight oximetry in the context of apnea diagnosis
EP3040018A1 (en) Method and apparatus for authenticating user based on biosignal
CN105559802A (en) Tristimania diagnosis system and method based on attention and emotion information fusion
CN105147248A (en) Physiological information-based depressive disorder evaluation system and evaluation method thereof
CN106413541B (en) System and method for diagnosing sleep
CN110786849B (en) Electrocardiosignal identity recognition method and system based on multi-view discriminant analysis
EP3449409B1 (en) Biometric method and device for identifying a person through an electrocardiogram (ecg) waveform
CN108681685A (en) A kind of body work intension recognizing method based on human body surface myoelectric signal
Choi et al. User Authentication System Based on Baseline-corrected ECG for Biometrics.
CN111202517A (en) Sleep automatic staging method, system, medium and electronic equipment
Alotaiby et al. A nonfiducial PPG-based subject Authentication Approach using the statistical features of DWT-based filtered signals
WO2020034126A1 (en) Sample training method, classification method, identification method, device, medium, and system
CN109214431B (en) Sample training method, classification method, identification method, device, medium and system
CN116312951B (en) Exercise function assessment method and system based on multi-modal coupling analysis
Li et al. Crackles detection method based on time-frequency features analysis and SVM
Kiliç et al. Automatic classification of respiratory sounds during sleep
Lee et al. Individual identification based on cascaded PCANet from ECG signal
Jaafar et al. Intelligent person recognition system based on ecg signal
Samsudin et al. Forehead lesion score for facial nerve paralysis evaluation
Nemirko et al. Intelligent analysis of biomedical signals for personal identification and life support systems
Sun et al. Computerized wrist pulse signal diagnosis using kpca

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18930258

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 12.07.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18930258

Country of ref document: EP

Kind code of ref document: A1