Teaching level evaluation method, device, electronic equipment and storage medium

By acquiring and processing teaching data, and using technologies such as generative adversarial networks and spectral energy neural networks, a teaching level assessment model is formed, which solves the problems of subjectivity and lack of accuracy of traditional assessment methods and achieves a more efficient and accurate teaching level assessment. .

CN118333466BActive Publication Date: 2024-09-13SHANDONG POLYTECHNIC COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410748907.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-13
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Traditional teaching level evaluation methods have high subjectivity, limited coverage and detail, low data utilization, lack of objective and systematic evaluation mechanisms, and deficiencies in data processing capabilities, model stability, and evaluation accuracy.

Method used

By acquiring teaching data, performing format conversion and feature extraction, a teaching data vector is formed and input into the pre-trained teaching level evaluation model. Iterative training is performed based on the target training data set, including data annotation, vectorization processing, data expansion, and features. Extraction and dimensionality reduction, using techniques such as generative adversarial networks, spectral energy neural networks, and autoencoders to improve data quality and model stability.

Benefits of technology

It expands the amount of training data, improves data processing capabilities and model stability, improves the accuracy and comprehensiveness of evaluation, and solves the problem of insufficient training data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118333466B
    Figure CN118333466B
Patent Text Reader

Abstract

The present invention provides a teaching level evaluation method, device, electronic device and storage medium, which relates to the field of data processing technology. The method includes: obtaining teaching data; converting the format of the teaching data and extracting features to obtain a teaching data vector; inputting the teaching data vector into a pre-trained teaching level evaluation model, and outputting a teaching level evaluation result corresponding to the teaching data; the teaching level evaluation model is obtained by iterative training based on a target training data set; the target training data set is obtained by labeling a plurality of collected teaching data samples, vectorizing data, expanding data, extracting features and reducing feature dimensions. In this method, not only the amount of training data is expanded, the problem of insufficient training data is solved, but also the data processing capability, model stability and evaluation accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a teaching level evaluation method, device, electronic equipment and storage medium. Background Art

[0002] In traditional educational environments, the evaluation of teaching level usually relies on intuitive and qualitative methods such as direct observation, student feedback, and test scores. However, these methods have some limitations, such as high subjectivity of evaluation, limited coverage and detail, low data utilization, and lack of objective and systematic evaluation mechanisms. With the rapid growth of educational data and the advancement of technology, it is necessary to develop more efficient and accurate evaluation methods to meet these challenges.

[0003] In addition, with the development of artificial intelligence and machine learning technologies, data-driven teaching evaluation methods have begun to gain attention. These methods are able to process a large amount of teaching-related data, such as teaching activity records, student feedback, and performance records, thereby providing a more comprehensive and objective evaluation of teaching quality. However, in the field of teaching, the amount of data obtained is usually limited, and there are still deficiencies in data processing capabilities, model stability, and evaluation accuracy. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a teaching level evaluation method, device, electronic device and storage medium, which not only expands the amount of training data and solves the problem of insufficient training data, but also improves data processing capabilities, model stability and evaluation accuracy.

[0005] In the first aspect, an embodiment of the present invention provides a teaching level assessment, including: obtaining teaching data; performing format conversion and feature extraction on the teaching data to obtain a teaching data vector; inputting the teaching data vector into a pre-trained teaching level assessment model, and outputting a teaching level assessment result corresponding to the teaching data; the teaching level assessment model is obtained by iterative training based on a target training data set; the target training data set is obtained based on labeling, data vectorization, data expansion, feature extraction and feature dimensionality reduction of multiple collected teaching data samples.

[0006] In a preferred embodiment of the present invention, the above-mentioned pre-trained teaching level evaluation model is trained through the following steps: annotating the collected multiple teaching data samples to obtain a first training data set; performing data vectorization processing on the first training data set to obtain a second training data set; performing data expansion on the second training data set to obtain a third training data set; performing feature extraction on the third training data set to obtain a fourth training data set; performing feature dimensionality reduction on the fourth training data set to obtain a target training data set; training the teaching level evaluation model based on the target training data set to obtain a pre-trained teaching level evaluation model.

[0007] In a preferred embodiment of the present invention, the above-mentioned labeling of the collected multiple teaching data samples to obtain the first training data set includes: determining the evaluation levels corresponding to the multiple teaching data samples respectively; and labeling the teaching data samples based on the evaluation levels to obtain the first training data set.

[0008] In a preferred embodiment of the present invention, the above-mentioned first training data set includes multiple first training data, and the first training data set is vectorized to obtain a second training data set, including: vectorizing the text data in the first training data to obtain a text feature vector; vectorizing the category data in the first training data using one-hot encoding to obtain a category feature vector; standardizing the numerical data in the first training data to obtain a numerical feature vector; and vector merging the text feature vector, the category feature vector and the numerical feature vector to obtain the second training data set.

[0009] In a preferred embodiment of the present invention, the data expansion of the second training data set to obtain the third training data set includes: performing data expansion on the second training data set using a generative adversarial network based on latent Dirichlet allocation to obtain the third training data set.

[0010] In a preferred embodiment of the present invention, the above-mentioned feature extraction of the third training data set to obtain the fourth training data set includes: using a fully connected neural network to extract features based on the third training data set to obtain the fourth training data set; wherein the fully connected neural network is a spectral energy-based neural network with pre-optimized parameters.

[0011] In a preferred embodiment of the present invention, the fourth training data set includes multiple fourth training data, and feature dimension reduction is performed on the fourth training data set to obtain a target training data set, including: inputting the fourth training data into an autoencoder network, the autoencoder network capturing the hierarchical features of the fourth training data and performing feature selection to obtain information features; the autoencoder network reconstructs the fourth training data based on the information features to output target training data; multiple target training data constitute the target training data set.

[0012] In the second aspect, an embodiment of the present invention also provides a teaching level assessment device, including: a teaching data acquisition module, used to acquire teaching data; a teaching data processing module, used to convert the format of the teaching data and extract features to obtain a teaching data vector; a teaching data vector input module, used to input the teaching data vector into a pre-trained teaching level assessment model, and output a teaching level assessment result corresponding to the teaching data; the teaching level assessment model is obtained by iterative training based on a target training data set; the target training data set is obtained after labeling, data vectorization, data expansion, feature extraction and feature dimensionality reduction of multiple collected teaching data samples.

[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the teaching level assessment method of the first aspect mentioned above.

[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the teaching level assessment method of the first aspect mentioned above.

[0015] The embodiments of the present invention bring the following beneficial effects:

[0016] The embodiment of the present invention provides a teaching level evaluation method, device, electronic device and storage medium, which obtains teaching data, converts the format of the teaching data and extracts features to obtain a teaching data vector, and then inputs the teaching data vector into a pre-trained teaching level evaluation model to output a teaching level evaluation result corresponding to the teaching data. The teaching level evaluation model is obtained by iterative training based on a target training data set, and the target training data set is obtained by labeling, vectorizing, expanding, extracting features and reducing the dimension of features on multiple collected teaching data samples. In this method, not only the amount of training data is expanded and the problem of insufficient training data is solved, but also the data processing capability, model stability and evaluation accuracy are improved.

[0017] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.

[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A flow chart of a teaching level evaluation method provided by an embodiment of the present invention;

[0021] Figure 2 A flowchart of another teaching level evaluation method provided by an embodiment of the present invention;

[0022] Figure 3 A structural schematic diagram of a teaching level evaluation device provided by an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] In traditional educational environments, the evaluation of teaching level usually relies on intuitive and qualitative methods such as direct observation, student feedback, and test scores. However, these methods have some limitations, such as high subjectivity of evaluation, limited coverage and detail, low data utilization, and lack of objective and systematic evaluation mechanisms. With the rapid growth of educational data and the advancement of technology, it is necessary to develop more efficient and accurate evaluation methods to meet these challenges.

[0026] In addition, with the development of artificial intelligence and machine learning technologies, data-driven teaching evaluation methods have begun to gain attention. These methods are able to process a large amount of teaching-related data, such as teaching activity records, student feedback, and performance records, thereby providing a more comprehensive and objective evaluation of teaching quality. However, in the field of teaching, the amount of data obtained is usually limited, and there are still deficiencies in data processing capabilities, model stability, and evaluation accuracy.

[0027] Also, in the related technology, there may be the following problems that still need to be further solved:

[0028] 1) Traditional technologies may fail to fully capture and analyze complex teaching activity data, such as teachers’ teaching methods, student feedback, and other multi-dimensional information. This limits the comprehensiveness and accuracy of the evaluation.

[0029] 2) Existing technologies may lack effective data augmentation methods, especially when dealing with limited or unbalanced datasets. This leads to insufficient data when training the model, affecting the generalization ability and accuracy of the model.

[0030] 3) In some neural network structures, you may encounter problems such as gradient vanishing, gradient explosion, or falling into local optimal solutions. These problems affect the stability of training and the performance of the model.

[0031] 4) Traditional feature processing methods may fail to effectively reduce feature redundancy and noise, resulting in inaccurate feature representation, affecting the final classification accuracy and discriminability.

[0032] 5) Existing classification methods may not fully consider outlier processing and classification confidence assessment, resulting in insufficient accuracy and robustness of classification results.

[0033] Based on this, an embodiment of the present invention provides a teaching level evaluation method, device, electronic device and storage medium, which can obtain teaching data, convert the format of the teaching data and extract features to obtain a teaching data vector, and then input the teaching data vector into a pre-trained teaching level evaluation model to output a teaching level evaluation result corresponding to the teaching data. Among them, the teaching level evaluation model is obtained by iterative training based on a target training data set, and the target training data set is obtained after labeling, data vectorization, data expansion, feature extraction and feature dimension reduction of multiple collected teaching data samples. In this way, not only the amount of training data is expanded and the problem of insufficient training data is solved, but also the data processing capability, model stability and evaluation accuracy are improved.

[0034] To facilitate understanding of this embodiment, a teaching level evaluation method disclosed in an embodiment of the present invention is first introduced in detail.

[0035] Example 1

[0036] The embodiment of the present invention provides a teaching level evaluation method. Figure 1 Flow chart of a teaching level evaluation method provided by an embodiment of the present invention. Figure 1 As shown, the teaching level evaluation method may include the following steps:

[0037] Step S101, obtaining teaching data.

[0038] Among them, teaching data can come from teaching scenarios, and teaching data can be teaching data record documents. The teaching data record documents may include teacher name, teaching methods, teaching content, student feedback, learning effect evaluation, class time, course difficulty rating, etc. The teaching method can be lectures, discussions, experiments, etc. Student feedback can be obtained through questionnaires, and learning effect evaluation can be determined through test scores.

[0039] Step S102, converting the format of the teaching data and extracting its features to obtain a teaching data vector.

[0040] Among them, format conversion specifically converts teaching data into structured text. The structured text obtained after conversion specifically includes various types of data such as text, numerical value, timestamp, etc.

[0041] Among them, the text features, category features and numerical features of the format-converted teaching data can be extracted and merged to obtain the teaching data vector.

[0042] Step S103, input the teaching data vector into a pre-trained teaching level evaluation model, and output the teaching level evaluation result corresponding to the teaching data.

[0043] Among them, the teaching level evaluation model is obtained through iterative training based on the target training data set; the target training data set is obtained through labeling, data vectorization, data expansion, feature extraction and feature dimension reduction of multiple collected teaching data samples.

[0044] The teaching level evaluation method provided by the embodiment of the present invention can obtain teaching data, convert the format of the teaching data and extract features to obtain a teaching data vector, and then input the teaching data vector into a pre-trained teaching level evaluation model to output a teaching level evaluation result corresponding to the teaching data. The teaching level evaluation model is obtained by iterative training based on a target training data set, and the target training data set is obtained after labeling, data vectorization, data expansion, feature extraction and feature dimension reduction of multiple collected teaching data samples. In this way, not only the amount of training data is expanded and the problem of insufficient training data is solved, but also the data processing capability, model stability and evaluation accuracy are improved.

[0045] Example 2

[0046] The embodiment of the present invention also provides another teaching level assessment method; this method is implemented on the basis of the method in the above embodiment; this method focuses on describing the training steps of the pre-trained teaching level assessment model.

[0047] Figure 2 A flowchart of another teaching level evaluation method provided by an embodiment of the present invention, such as Figure 2As shown, the pre-trained teaching level evaluation model can be trained by the following steps:

[0048] Step S201: annotate the collected multiple teaching data samples to obtain a first training data set.

[0049] Among them, the teaching data samples can come from teaching scenarios, and the teaching data samples can be teaching data sample record documents. The teaching data sample record documents may include teacher name, teaching methods, teaching content, student feedback, learning effect evaluation, class time, course difficulty rating, etc. The teaching method can be lectures, discussions, experiments, etc. Student feedback can be obtained through questionnaires, and learning effect evaluation can be determined through test scores.

[0050] Specifically, labeling the collected multiple teaching data samples to obtain the first training data set may include: determining evaluation levels corresponding to the multiple teaching data samples respectively; and labeling the teaching data samples based on the evaluation levels to obtain the first training data set.

[0051] The evaluation level of the teaching data sample can be marked, and the evaluation level can be determined and marked manually, or a model can be trained to determine and mark the evaluation level, which is not limited here. The marked evaluation levels can include "excellent", "good", "average", and "poor", corresponding to the numbers 1, 2, 3, and 4 respectively. The marked teaching data sample is the first training data, and multiple first training data constitute the first training data set.

[0052] Step S202: performing data vectorization processing on the first training data set to obtain a second training data set.

[0053] The first training data may be vectorized to construct a feature set. , represents the comprehensive feature vector of the i-th first training data, and the comprehensive feature vectors of all first training data constitute the second training data set.

[0054] Specifically, performing data vectorization processing on the first training data set to obtain the second training data set may include: performing data vectorization processing on the text data in the first training data to obtain a text feature vector; performing vectorization processing on the category data in the first training data using one-hot encoding to obtain a category feature vector; performing standardization processing on the numerical data in the first training data to obtain a numerical feature vector; and performing vector merging of the text feature vector, the category feature vector, and the numerical feature vector to obtain the second training data set.

[0055] Among them, a vocabulary index can be constructed first, that is, a vocabulary index is established for the text data in the first training data. The text data can be the teacher's name, teaching method, teaching content, etc. Each special vocabulary item in the text data is assigned a unique index value, and then feature encoding is performed, and the text data is vectorized using the bag-of-words model to obtain a text feature vector. Each element of the text feature vector represents whether the word in the corresponding vocabulary index appears in the first training data, or represents the weight of the frequency of occurrence of the word in the corresponding vocabulary index in the first training data.

[0056] Among them, the category data can be vectorized using one-hot encoding to obtain the category feature vector. The category data can be the classification of teaching methods. For example, the teaching methods are divided into lectures, discussions, and experiments. The corresponding three feature vectors can be: [1,0,0], [0,1,0], [0,0,1].

[0057] The numerical data may be standardized to obtain a numerical feature vector so that its mean is 0 and its standard deviation is 1. The numerical data may be a test score.

[0058] Furthermore, the text feature vector, the category feature vector and the numerical feature vector are vector-merged to obtain a comprehensive feature vector to construct a feature set. .

[0059] In order to ensure the consistency and integrity of the data, before vectorizing the text data in the first training data, the first training data may be cleaned, for example, by converting the first training data into a standardized text format, filling in missing values, or removing irrelevant data.

[0060] Step S203: perform data expansion on the second training data set to obtain a third training data set.

[0061] Since the acquisition, labeling and preprocessing of training data are time-consuming and labor-intensive, and insufficient training data samples can easily lead to poor model generalization ability and affect the accuracy of the model, the data can be expanded to increase the amount of sample data. Specifically, the latent topic structure in the data can be captured by using the latent Dirichlet allocation model as the prior knowledge for generating new sample data by the generative adversarial network. At the same time, distance metric learning is used to ensure that the generated sample data maintains appropriate differences in the feature space to avoid excessively similar repeated data.

[0062] Specifically, performing data expansion on the second training data set to obtain the third training data set may include: performing data expansion on the second training data set using a generative adversarial network based on latent Dirichlet allocation to obtain the third training data set.

[0063] Among them, the training process of the generative adversarial network based on latent Dirichlet allocation may include the following steps:

[0064] Step A1: Train the Latent Dirichlet Allocation model.

[0065] Specifically, define is the second training data index, is the topic distribution of the second training data, is the first hyperparameter of the latent Dirichlet distribution, is the first The subject of the word, The word distribution of the topic, is the second hyperparameter of the Dirichlet distribution, is the first words, and They are the generator and discriminator in the generative adversarial network, and are the network weights of the generator and the discriminator, and is the network bias of the generator and the discriminator, is the latent vector input to the generator, is the data sample input to the discriminator, is the loss function of the generator, is the loss function of the discriminator, is the batch size, For real samples, is the latent vector generated from the topic distribution, and are the sets of similar sample pairs and dissimilar sample pairs respectively, is a sample in the feature space and The distance is the interval parameter, is the gamma function, is the total number of topics, Represents the proportion of the topic in the second training data; represents a normal distribution with a mean of 0 and a standard deviation of 0.02, which is used to initialize network weights and biases. is the authenticity score of the sample data.

[0066] Further, a latent Dirichlet allocation model is applied to the second training data to identify the latent topics in each second training data. In the latent Dirichlet allocation model, the topic distribution of each second training data is generated by Dirichlet distribution, which can be expressed as the following formula (1):

[0067] (1)

[0068] Every word Theme Generated by multinomial distribution, it can be expressed as the following formula (2):

[0069] (2)

[0070] Each theme Word distribution Generated by Dirichlet distribution, it can be expressed as the following formula (3):

[0071] (3)

[0072] Every word The generation probability can be expressed as the following formula (4):

[0073] (4)

[0074] in, is the Dirichlet distribution function, is the multinomial distribution function, represents the first hyperparameter, which can be set to 0.1. represents the second hyperparameter and can be set to 0.01.

[0075] Furthermore, the Dirichlet distribution is a multivariate probability distribution that describes Dimensional vector The probability of each dimension The probability of (representing the proportion of the topic in the second training data) is defined as the following formula (5):

[0076] (5)

[0077] in, Represents the probability definition of each dimension, Represents the gamma function, which is used to normalize the probability distribution to ensure that all probabilities sum to 1.

[0078] Step A2: Initialize the Generative Adversarial Network.

[0079] Specifically, a generator and a discriminator network are constructed, where the generator receives the latent topic distribution as input. The initialization method can be expressed as the following formula (6), the discriminator The initialization method can be expressed as the following formula (7):

[0080] (6)

[0081] in, Indicates how the generator is initialized. represents the activation function of the generator, represents the network weight of the generator, represents the latent vector of the generator input, Represents the network bias of the generator.

[0082] (7)

[0083] in, represents the initialization method of the discriminator, represents the Sigmoid activation function of the discriminator, represents the network weight of the discriminator, represents the data sample input to the discriminator, Represents the network bias of the discriminator.

[0084] Furthermore, for the generator and the discriminator The network weight , and network bias , , when initializing network weights and biases, random initialization or pre-trained model parameters are usually used, which can be expressed as the following formulas (8) and (9):

[0085] (8)

[0086] (9)

[0087] in, represents a normal distribution with a mean of 0 and a standard deviation of 0.02.

[0088] Step A3: Train the Generative Adversarial Network.

[0089] Specifically, the second training data is used to train the generative adversarial network. The generator attempts to generate new samples, and the discriminator attempts to distinguish between real samples and generated samples. The loss function of the generator can be the following formula (10), and the loss function of the discriminator can be the following formula (11):

[0090] (10)

[0091] in, represents the loss function of the generator, represents the batch size, represents the latent vector generated from the topic distribution.

[0092] (11)

[0093] in, represents the loss function of the discriminator, represents the batch size, represents the real sample, represents the latent vector generated from the topic distribution.

[0094] Step A4: Apply distance metric learning.

[0095] Specifically, distance metric learning is introduced in the training process of the generative adversarial network to adjust the generated samples so that they maintain a certain difference in the feature space. , calculate its distance in feature space , which can be expressed as the following formula (12):

[0096] (12)

[0097] Furthermore, the objective function It can be expressed as the following formula (13):

[0098] (13)

[0099] in, is the L2 norm, represents a set of similar sample pairs, represents a set of dissimilar sample pairs, Represents the interval parameter, which is used to control the difference in distance between similar and dissimilar samples.

[0100] in, Can be set to 2.

[0101] Furthermore, for the determination of similarity and dissimilarity sample pairs, similarity sample pairs and dissimilar sample pairs The determination of depends on the label of the data or the label obtained by the clustering algorithm. If two samples have the same label, they are regarded as similar sample pairs; otherwise, they are regarded as dissimilar sample pairs.

[0102] Step A5: Sample generation and evaluation.

[0103] Specifically, new data samples are generated and quality assessed through the discriminator to ensure the authenticity and diversity of the samples and calculate the authenticity score. , which can be expressed as the following formula (14):

[0104] (14)

[0105] Step A6: Use the same data vectorization processing method as step 2 to construct the generated samples into a feature set At the same time, the present invention adopts an adaptive feature association mapping algorithm to enhance the correlation between features in the data expansion process. The adaptive feature association mapping algorithm structures the interdependence between features so that when generating new data samples, it can more accurately reflect the interaction between features in the original data set.

[0106] Specifically, for the feature set The process of performing adaptive feature association mapping includes the following steps:

[0107] Step A61: Construction of feature association matrix.

[0108] For feature sets , construct the feature association matrix , which can be expressed as the following formula (15):

[0109] (15)

[0110] in, represents the feature association matrix, Representation characteristics and The correlation coefficient between .

[0111] Furthermore, the feature mapping function is defined The formula (16) is:

[0112] (16)

[0113] Mapping the original feature space to a new feature space to strengthen the correlation between features can be expressed as the following formula (17):

[0114] (17)

[0115] in, represents the feature association matrix, Represents the Sigmoid nonlinear transformation function.

[0116] Step A62: Perform adaptive weight adjustment.

[0117] Specifically, in order to adapt to the characteristics of different data, adaptive weights are introduced, and the adjustment method can be expressed as the following formula (18):

[0118] (18)

[0119] in, represents the adaptive weight, which is optimized during the training process through the back-propagation algorithm. represents the feature association matrix, Represents the Sigmoid nonlinear transformation function.

[0120] Step A7: Data augmentation.

[0121] Specifically, the iteration steps A2-A6 are repeated until the preset maximum number of iterations is met. The quality generation samples are added to the second training data set to form a third training data set for subsequent feature extraction.

[0122] Step S204: extract features from the third training data set to obtain a fourth training data set.

[0123] Since neural networks are used for feature extraction in some cases, in some neural network structures, gradient vanishing, gradient exploding, or falling into local optimal solutions may occur, affecting the stability of training and the performance of the model. Therefore, the above problems can be solved by a neural network parameter optimization method based on spectral energy.

[0124] This method is inspired by the distribution and change of spectra in nature. In nature, changes in spectra reflect the different states and properties of matter. Similarly, this method optimizes neural network parameters by simulating the distribution and adjustment of spectra. In this framework, each parameter of a neural network, such as weights and biases, is regarded as a spectral energy point, whose position and intensity change dynamically with the training process. Each parameter of the neural network is mapped to a spectral energy distribution, and the parameters are optimized by adjusting the energy distribution. At the same time, according to the performance of the network during the training process, the spectral energy corresponding to each parameter is dynamically adjusted to achieve optimization. In addition, when the spectral energy of certain parameters reaches a resonant state, these parameters are considered to be optimal, and the adjustment of these parameters will be reduced at this time, thereby maintaining the stability of the network.

[0125] Specifically, performing feature extraction on the third training data set to obtain the fourth training data set may include: performing feature extraction based on the third training data set using a fully connected neural network to obtain the fourth training data set.

[0126] The fully connected neural network is a spectral energy-based neural network that has been pre-optimized for parameters. The method for optimizing the parameters of the spectral energy-based neural network may include the following steps:

[0127] Step B1: Initialize the spectral energy distribution.

[0128] Specifically, define For the The spectral energy of the parameters, is the initial energy constant, The first parameters, and are the mean and standard deviation of the initial energy distribution, is the number of iterations or time step, is the loss function, is the loss function Parameters The partial derivative of For the The true value of the third training data, For the network The output value of the third training data is obtained by the preset Softmax classification function. is the loss function For Spectral energy at the time step The partial derivative of For the network The predicted value of a sample.

[0129] Furthermore, an initial spectral energy value is assigned to each parameter of the neural network. , its initial spectral energy It can be expressed as the following formula (19):

[0130] (19)

[0131] in, represents the initial energy constant, and Respectively represent the mean and standard deviation of the initial energy distribution. In one embodiment, Can be set to 1, and .

[0132] Step B2: Forward propagation and energy mapping.

[0133] Specifically, during the forward propagation of the neural network, the corresponding spectral energy is mapped according to the current value of the parameter. During the forward propagation, the spectral energy of each parameter Based on its current value Dynamic changes can be expressed as the following formula (20):

[0134] (20)

[0135] in, Indicates The parameters for the iteration The spectral energy, Represents the loss function Parameters The gradient of represents the learning rate hyperparameter. In one embodiment, Can be set to 0.01.

[0136] Furthermore, the gradient term It can be expressed as the following formula (21):

[0137] (twenty one)

[0138] in, Represents the loss function Parameters The gradient of Indicates The true value of the third training data, Is the network The predicted value of the third training data depends on the parameter . By using the chain rule, it can be further decomposed into the following formula (22):

[0139] (twenty two)

[0140] in, Is the network The predicted value of the third training data, Indicates The true value of the third training data, Represents the network output relative to the parameters gradient.

[0141] Step B3: Loss calculation and energy analysis.

[0142] Specifically, the loss of the network output is calculated, and the impact of the current spectral energy distribution on the loss is analyzed. In one embodiment, the loss function is the mean square error loss. The relationship between the loss function and the spectral energy can be expressed by the following formula (23):

[0143] (twenty three)

[0144] in, Indicates The parameters for the iteration The spectral energy, represents the true value, Represents the output value of the network.

[0145] Step B4: Energy adjustment strategy.

[0146] Specifically, according to the relationship between loss and spectral energy distribution, the spectral energy of each parameter is adjusted, which can be expressed as the following formula (24):

[0147] (twenty four)

[0148] in, Indicates The parameters for the iteration The spectral energy, represents the energy adjustment rate, which is a hyperparameter. In one embodiment, can be set to 0.05, Represents the loss function For Spectral energy at the time step The partial derivative of .

[0149] Furthermore, the gradient term Also using the chain rule, the calculation method can be expressed as the following formula (25):

[0150] (25)

[0151] Among them, according to The expression of It needs to be determined based on the parameter update formula (26) of the previous iteration, because , we can get the following formula (27):

[0152] (26)

[0153] in, represents the parameter update rate, which is a hyperparameter. In one embodiment, Can be set to 0.001. is another hyperparameter used to adjust the effect of spectral characteristics on parameter updates. Indicates the spectrum characteristic value.

[0154] (27)

[0155] Substituting this equation (27) into the above chain rule, we get a more complete The expression can be expressed as the following formula (28):

[0156] (28)

[0157] in, Represents the loss function For Spectral energy at the time step The partial derivative of Represents the loss function Parameters The gradient of Represents the parameter update rate, which is a hyperparameter.

[0158] Step B5: Parameter update.

[0159] Specifically, the parameters of the neural network are updated according to the adjusted spectral energy. Each parameter of the neural network According to its spectral energy Update, which can be expressed as the above formula (26).

[0160] Furthermore, for the calculation of spectral characteristic values, each parameter has not only spectral energy , and there is also a spectral characteristic value associated with it , this value represents the frequency of parameter change during the iteration process, which can be understood as the pitch of parameter change. Specifically, define the spectral characteristic value The formula (29) is:

[0161] (29)

[0162] in, represents the number of previous iterations considered, Indicates the starting iteration time.

[0163] Step B6: Resonance detection and stabilization.

[0164] Specifically, the resonance state of the spectral energy is detected, and the parameters reaching the resonance state are stabilized. If the change in successive iterations is small, the parameter is considered To achieve resonance, stabilization can be achieved by reducing the update rate of these parameters.

[0165] Step B7: Iterative optimization.

[0166] Specifically, the above steps B1-B6 are repeated until a preset number of iterations is reached.

[0167] Step S205: performing feature dimension reduction on the fourth training data set to obtain a target training data set.

[0168] Among them, the effective dimensionality reduction of data features can be achieved through the optimal sparsification autoencoder algorithm. Through the encoding and decoding process of the autoencoder, the key features of the fourth training data can be extracted. At the same time, the optimal sparsification strategy can be used to reduce the redundancy and noise of the features, thereby improving the representativeness and distinctiveness of the features.

[0169] Specifically, the fourth training data set includes multiple fourth training data, and feature dimension reduction is performed on the fourth training data set to obtain a target training data set, which may include: inputting the fourth training data into an autoencoder network, the autoencoder network capturing the hierarchical features of the fourth training data and performing feature selection to obtain information features; the autoencoder network reconstructs the fourth training data based on the information features and outputs target training data; multiple target training data form a target training data set.

[0170] Among them, the fourth training data set is , where each feature is a multidimensional data vector. The fourth training data is input into the autoencoder network and transformed through a multi-layer network. Each layer of the network aims to capture different levels of features of the data. Then, by introducing sparse regularization and limiting the number of activated neurons, the network is prompted to learn more robust and effective feature representations.

[0171] Specifically, each layer of the encoder can be expressed as the following formula (30):

[0172] (30)

[0173] in, Indicates The output of the layer, and Respectively represent The network weights and biases of the layers, Represents the Sigmoid activation function.

[0174] Furthermore, the sparsification regularization constraint is the following formula (31):

[0175] (31)

[0176] in, represents the Kullback-Leibler divergence, which is used to measure sparsity. represents the expected sparsity, represents the actual sparsity, represents the regularization parameter for sparsification.

[0177] Furthermore, for the coding layer formula weight matrix It is determined by the number of features in the previous layer and the number of neurons in the current layer. In one embodiment, if the previous layer has features, the current layer has neurons, then is a And, each neuron has a bias term, so the bias vector Is the length Vector.

[0178] Furthermore, the sparsification term The detailed calculation method is as follows (32):

[0179] (32)

[0180] in, represents the preset sparsity parameter, Indicates The average activation value of neurons is calculated as follows (33):

[0181] (33)

[0182] in, Indicated in The fourth training data The activation value of a neuron.

[0183] Specifically, the information feature is the most informative feature, and the information feature can be obtained through ReliefF feature selection. The ReliefF algorithm is used for feature selection, and the information feature is obtained by examining the correlation between the feature and the output category.

[0184] Among them, the ReliefF algorithm can be combined with the training process of the autoencoder to guide the sparsification process, further improve the effectiveness of dimensionality reduction, and evaluate and select the most representative features.

[0185] Specifically, the way the ReliefF algorithm updates weights can be expressed as the following formula (34):

[0186] (34)

[0187] in, It can be calculated by the following formula (35).

[0188] (35)

[0189] in, represents the encoding layer weight, represents the feature difference function, and Represent the closest heterogeneous neighbors and homogeneous neighbors respectively, Indicates the number of samples.

[0190] in, The functions are specifically the following formulas (36-1) and (36-2):

[0191] (36-1)

[0192] (36-2)

[0193] in, represents the total number of features, Indicates The sample Features, and Represents the nearest heterogeneous and homogeneous samples in The value of a feature.

[0194] Specifically, each layer of the decoder can be expressed as the following formula (37):

[0195] (37)

[0196] in, Indicates The output of the layer, and Respectively represent The network weights and biases of the layers, Represents the Sigmoid activation function.

[0197] Among them, we can combine the characteristics of the autoencoder and the ReliefF algorithm to develop a dynamically adjusted sparsification strategy. According to the characteristics of the data and the learning progress of the network, the sparsification strength is dynamically adjusted to achieve optimal feature extraction.

[0198] Specifically, the method of adjusting the sparsification strength according to the learning progress can be expressed as the following formula (38):

[0199] (38)

[0200] in, represents the initial sparsification parameter, Indicates the adjustment rate, Indicates the number of iterations.

[0201] Finally, output the target training data after dimension reduction , used for the training and evaluation of subsequent teaching level evaluation models. In one embodiment, can be set to 0.1, Can be set to 0.01 to balance sparsification and reconstruction error.

[0202] Step S206, training the teaching level evaluation model based on the target training data set to obtain a pre-trained teaching level evaluation model.

[0203] Among them, the teaching level evaluation model can be an improved back-propagation neural network classifier, which can more effectively process the data in the teaching level evaluation and improve the accuracy and robustness of classification by combining quantile gradient descent and confidence scoring.

[0204] Specifically, the improved back propagation neural network classifier algorithm construction process may include the following steps:

[0205] Step C1: Construction of basic back-propagation neural network model.

[0206] Among them, the back propagation neural network is a hybrid neural network that combines the Kohonen neural network and the Grossberg neural network. It can achieve pattern recognition and nonlinear mapping through self-organization and supervised learning. The input layer of the back propagation neural network receives data, the Kohonen layer (competition layer) performs self-organization learning, and the Grossberg layer (output layer) performs supervised learning.

[0207] Step C2: Quantile-based gradient descent optimization.

[0208] Among them, the quantile gradient descent algorithm is introduced in the traditional back-propagation neural network training process to optimize the network's robustness to outliers. Quantile gradient descent is used to adjust the weights of the Kohonen layer to enhance the network's sensitivity to the tail of the data distribution, thereby better handling outliers or extreme cases. Quantile gradient descent is applied to the Grossberg layer to optimize the weight update of the output layer.

[0209] Step C3: Confidence assessment.

[0210] Among them, a confidence assessment mechanism is added to the training and output stages of the back propagation neural network to improve the accuracy and reliability of classification. Specifically, a confidence score is added to the output of the Kohonen layer, and a confidence score is given based on the similarity between the input data and the target training data. The Grossberg layer adjusts the output according to the confidence score to increase or decrease the weight of certain classifications.

[0211] Step C4: Iterative training.

[0212] Specifically, the iterative training may include the following steps:

[0213] Step C41: Data reception.

[0214] Specifically, the input layer receives the target training data. At the same time, define is the target training data, is the preprocessed data, For the The neuron pairs The weights of the input features, is the neighborhood function, For neurons and the winning neuron The distance between For time The relevant effective neighborhood radius, For the The confidence score of each neuron, For the The output value of the output neuron, The target output.

[0215] Step C42: Self-organized learning.

[0216] Among them, the Kohonen layer self-organizes the data. Specifically, the way in which the Kohonen layer self-organizes and learns the data can be expressed as the following formula (39):

[0217] (39)

[0218] in, Indicates The neuron pairs The weights of the input features, Represents the learning rate, which can be set to 0.1. Indicates preprocessed data.

[0219] Furthermore, the weights are optimized using quantile gradient descent, that is, Adjustments are made to reflect the distributional characteristics of the data.

[0220] Step C43: Confidence scoring.

[0221] Specifically, the confidence score can be calculated based on the similarity between the data and the target training data, which can be expressed as the following formula (40):

[0222] (40)

[0223] in, Indicates The confidence score of each neuron, represents the distance function, Indicates the adjustment factor, which can be set to 5.

[0224] Furthermore, the distance When , the Euclidean distance is used as the calculation basis, it can be expressed as the following formula (41):

[0225] (41)

[0226] in, Indicates After preprocessing, Indicates The neuron pairs The weights of the input features.

[0227] Step C44: Supervised learning.

[0228] Among them, the Grossberg layer adjusts the output according to the confidence level to complete the final classification, which can be expressed as the following formula (42):

[0229] (42)

[0230] in, Indicates The output value of the output neuron, Indicates The neuron pairs The weights of the input features, Indicates The confidence score of each neuron, Indicates preprocessed data.

[0231] Furthermore, the way to update the output layer weights combined with the neighborhood function can be expressed as the following formula (43):

[0232] (43)

[0233] in, represents the target output, Represents the learning rate, which can be set to 0.05. Indicates The output value of the output neuron, represents the neighborhood function, which determines the The distance between the neuron and the winning neuron to the learning rate The adjustment effect can be expressed as the following formula (44):

[0234] (44)

[0235] in, Representing neurons and the winning neuron The distance between Representation and number of iterations The effective neighborhood radius of the correlation.

[0236] During the iteration, the gradient calculation is performed. Considering the nonlinear activation function of the output layer, the present invention adopts the chain rule to perform the gradient calculation, which can be expressed as the following formula (45):

[0237] (45)

[0238] in, represents the Sigmoid activation function, Indicates The neuron pairs The weights of the input features, Indicates preprocessed data.

[0239] For each round of training, the above steps C41-C44 are continuously iterated until the network output is stable, which means the training is completed and a pre-trained teaching level evaluation model is obtained.

[0240] The teaching level evaluation method provided by the embodiment of the present invention captures the multi-dimensional features of the data more accurately through detailed data vectorization processing and feature extraction. By using a generative adversarial network for data expansion and combining the potential Dirichlet allocation to capture the potential topic structure in the data, the data diversity is innovatively increased while maintaining the authenticity and relevance of the data. Through the optimization of neural network parameters based on spectral energy, drawing on the distribution and change principles of the spectrum in nature, the neural network parameters are dynamically adjusted by simulating the spectral energy distribution, which solves the problems of gradient disappearance and explosion, and improves the stability and performance of the model. By combining the powerful feature extraction capability of the autoencoder and the effective feature selection of the ReliefF algorithm, effective dimensionality reduction and noise reduction of data features are achieved, and the representativeness and distinguishability of the features are improved. By combining quantile gradient descent and confidence scoring, it shows better performance than traditional methods in handling outliers and improving classification accuracy.

[0241] Example 3

[0242] Corresponding to the above method embodiment, the embodiment of the present invention provides a teaching level evaluation device, Figure 3 A structural diagram of a teaching level evaluation device provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the teaching level assessment device may include:

[0243] The teaching data acquisition module 301 is used to acquire teaching data.

[0244] The teaching data processing module 302 is used to convert the format of the teaching data and extract the features to obtain the teaching data vector.

[0245] The teaching data vector input module 303 is used to input the teaching data vector into a pre-trained teaching level evaluation model, and output the teaching level evaluation result corresponding to the teaching data; the teaching level evaluation model is obtained by iterative training based on the target training data set; the target training data set is obtained after labeling, data vectorization, data expansion, feature extraction and feature dimension reduction of multiple collected teaching data samples.

[0246] The teaching level evaluation device provided by the embodiment of the present invention can obtain teaching data, convert the format of the teaching data and extract features to obtain a teaching data vector, and then input the teaching data vector into a pre-trained teaching level evaluation model to output a teaching level evaluation result corresponding to the teaching data. The teaching level evaluation model is obtained by iterative training based on a target training data set, and the target training data set is obtained after labeling, data vectorization, data expansion, feature extraction and feature dimension reduction of multiple collected teaching data samples. In this way, not only the amount of training data is expanded and the problem of insufficient training data is solved, but also the data processing capability, model stability and evaluation accuracy are improved.

[0247] In some embodiments, the teaching data vector input module is also used to label multiple collected teaching data samples to obtain a first training data set; perform data vectorization processing on the first training data set to obtain a second training data set; perform data expansion on the second training data set to obtain a third training data set; perform feature extraction on the third training data set to obtain a fourth training data set; perform feature dimensionality reduction on the fourth training data set to obtain a target training data set; and train a teaching level evaluation model based on the target training data set to obtain a pre-trained teaching level evaluation model.

[0248] In some embodiments, the teaching data vector input module is further used to determine the evaluation levels corresponding to a plurality of teaching data samples; and the teaching data samples are labeled based on the evaluation levels to obtain a first training data set.

[0249] In some embodiments, the first training data set includes multiple first training data, and the teaching data vector input module is also used to vectorize the text data in the first training data to obtain a text feature vector; vectorize the category data in the first training data using one-hot encoding to obtain a category feature vector; standardize the numerical data in the first training data to obtain a numerical feature vector; and vectorize the text feature vector, the category feature vector and the numerical feature vector to obtain a second training data set.

[0250] In some embodiments, the teaching data vector input module is further used to perform data expansion based on the second training data set using a generative adversarial network based on latent Dirichlet allocation to obtain a third training data set.

[0251] In some embodiments, the teaching data vector input module is also used to perform feature extraction using a fully connected neural network based on the third training data set to obtain a fourth training data set; wherein the fully connected neural network is a spectral energy-based neural network with parameters pre-optimized.

[0252] In some embodiments, the fourth training data set includes multiple fourth training data, and the teaching data vector input module is also used to input the fourth training data into the autoencoder network, the autoencoder network captures the hierarchical features of the fourth training data and performs feature selection to obtain information features; the autoencoder network reconstructs the fourth training data based on the information features and outputs target training data; multiple target training data constitute the target training data set.

[0253] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0254] Example 4

[0255] The embodiment of the present invention also provides an electronic device for executing the above teaching level evaluation method; see Figure 4 A structural schematic diagram of an electronic device is shown, which includes a memory 400 and a processor 401, wherein the memory 400 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 401 to implement the above-mentioned teaching level evaluation method.

[0256] Further, Figure 4 The electronic device shown further includes a bus 402 and a communication interface 403 , and the processor 401 , the communication interface 403 and the memory 400 are connected via the bus 402 .

[0257] The memory 400 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 403 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 402 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0258] The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 401. The above processor 401 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 400, and the processor 401 reads the information in the memory 400 and completes the steps of the method of the above embodiment in combination with its hardware.

[0259] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned teaching level assessment method. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0260] The computer program product for the teaching level assessment method provided in the embodiment of the present invention includes a computer-readable storage medium storing a non-volatile program code executable by a processor. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0261] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0262] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0263] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0264] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0265] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that can be executed by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., various media that can store program codes.

[0266] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A teaching level evaluation method, characterized in that: The method comprises: Obtain teaching data; Performing format conversion and feature extraction on the teaching data to obtain a teaching data vector; The teaching data vector is input into a pre-trained teaching level evaluation model, and the teaching level evaluation result corresponding to the teaching data is output; the teaching level evaluation model is obtained by iterative training based on a target training data set; the target training data set is obtained by labeling, vectorizing, expanding, extracting features, and reducing the dimension of features on a plurality of collected teaching data samples; the pre-trained teaching level evaluation model is trained by the following steps: Annotating the collected multiple teaching data samples to obtain a first training data set; Performing data vectorization processing on the first training data set to obtain a second training data set; Performing data expansion on the second training data set to obtain a third training data set; Performing feature extraction on the third training data set to obtain a fourth training data set; Performing feature dimensionality reduction on the fourth training data set to obtain the target training data set; Training a teaching level evaluation model based on the target training data set to obtain a pre-trained teaching level evaluation model; The step of performing data expansion on the second training data set to obtain a third training data set includes: Based on the second training data set, a generative adversarial network based on latent Dirichlet allocation is used to perform data expansion to obtain a third training data set; The generative adversarial network based on latent Dirichlet allocation is pre-trained, and the training steps include: training a latent Dirichlet allocation model, initializing a generative adversarial network, training a generative adversarial network, applying distance metric learning, sample generation and evaluation, and constructing the generated samples into a feature set. ,And an adaptive feature association mapping algorithm is used to enhance the ,correlation between features in the data expansion process and ,data expansion; The training of the latent Dirichlet allocation model comprises: definition is the second training data index, is the topic distribution of the second training data, is the first hyperparameter of the latent Dirichlet distribution, is the first The subject of the word, The word distribution of the topic, is the second hyperparameter of the Dirichlet distribution, is the first words, and They are the generator and discriminator in the generative adversarial network, and are the network weights of the generator and the discriminator, and is the network bias of the generator and the discriminator, is the latent vector input to the generator, is the data sample input to the discriminator, is the loss function of the generator, is the loss function of the discriminator, is the batch size, For real samples, is the latent vector generated from the topic distribution, and are the sets of similar sample pairs and dissimilar sample pairs respectively, is a sample in the feature space and The distance is the interval parameter, is the gamma function, is the total number of topics, Represents the proportion of the topic in the second training data; represents a normal distribution with a mean of 0 and a standard deviation of 0.02, which is used to initialize network weights and biases. Score the authenticity of the sample data; The initialization of the generated adversarial network includes: Construct a generator and a discriminator network, where the generator receives the latent topic distribution as input and the generator The initialization method is expressed as the following formula: , discriminator The initialization method is expressed as the following formula: ; in, Indicates how the generator is initialized. represents the activation function of the generator, represents the network weight of the generator, represents the latent vector of the generator input, represents the network bias of the generator; in, represents the initialization method of the discriminator, represents the Sigmoid activation function of the discriminator, represents the network weight of the discriminator, represents the data sample input to the discriminator, Represents the network bias of the discriminator; The training of the generative adversarial network comprises: The second training data is used to train the generative adversarial network, and the loss function of the generator is as follows: , the loss function of the discriminator is as follows: ; in, represents the loss function of the generator, represents the batch size, represents the latent vector generated from the topic distribution, represents the loss function of the discriminator, represents the real sample; The applied distance metric learning comprises: Introduce distance metric learning in the training process of the generative adversarial network to adjust each pair of samples Maintaining differentiation in feature space; For each pair of samples , calculate its distance in feature space , expressed as the following formula: , the objective function is expressed as the following formula: ; in, is the L2 norm, represents a set of similar sample pairs, represents a set of dissimilar sample pairs, represents the interval parameter, which is used to control the distance difference between similar and dissimilar samples; The sample generation and evaluation includes: Generate new data samples and evaluate their quality through the discriminator to calculate the authenticity score It is expressed as the following formula: ; The generated samples are constructed as feature sets , and adopts an adaptive feature association mapping algorithm including: construction of feature association matrix and adaptive weight adjustment; The construction of the feature association matrix includes: For feature sets , construct the feature association matrix , expressed as the following formula: ; in, represents the feature association matrix, Representation characteristics and The correlation coefficient between The adaptive weight adjustment comprises: Adaptive weights are introduced and the adjustment method is expressed as the following formula: ; in, represents the adaptive weight, which is optimized during the training process through the back-propagation algorithm. represents the feature association matrix, Represents the Sigmoid nonlinear transformation function; The data expansion includes: Repeatedly iteratively train the latent Dirichlet allocation model, initialize the generative adversarial network, train the generative adversarial network, apply distance metric learning, sample generation and evaluation, and construct the generated samples into a feature set , and adopt an adaptive feature association mapping algorithm to enhance the correlation between features in the data expansion process until the preset maximum number of iterations is met; the generated samples are added to the second training data set to form a third training data set for subsequent feature extraction.

2. The method according to claim 1, characterized in that The step of labeling the collected multiple teaching data samples to obtain a first training data set includes: Determine the evaluation levels respectively corresponding to the plurality of teaching data samples; The teaching data samples are labeled based on the evaluation level to obtain a first training data set.

3. The method according to claim 1, characterized in that The first training data set includes a plurality of first training data, and the step of performing data vectorization processing on the first training data set to obtain a second training data set includes: Performing vectorization processing on the text data in the first training data to obtain a text feature vector; Vectorizing the category data in the first training data using one-hot encoding to obtain a category feature vector; Standardizing the numerical data in the first training data to obtain a numerical feature vector; The text feature vector, the category feature vector and the numerical feature vector are vector-merged to obtain a second training data set.

4. The method according to claim 1, characterized in that: The step of extracting features from the third training data set to obtain a fourth training data set includes: A fourth training data set is obtained by performing feature extraction using a fully connected neural network based on the third training data set; wherein the fully connected neural network is a spectral energy-based neural network with parameters optimized in advance.

5. The method according to claim 1, characterized in that The fourth training data set includes a plurality of fourth training data, and the step of performing feature dimension reduction on the fourth training data set to obtain the target training data set includes: Inputting the fourth training data into an autoencoder network, wherein the autoencoder network captures hierarchical features of the fourth training data and performs feature selection to obtain information features; The autoencoder network reconstructs the fourth training data based on the information feature and outputs target training data; a plurality of the target training data constitute a target training data set.

6. A teaching level evaluation device, characterized in that: Used to implement the teaching level evaluation method according to any one of claims 1 to 5, the device comprises: A teaching data acquisition module, used for acquiring teaching data; A teaching data processing module, used for performing format conversion and feature extraction on the teaching data to obtain a teaching data vector; A teaching data vector input module is used to input the teaching data vector into a pre-trained teaching level evaluation model, and output the teaching level evaluation result corresponding to the teaching data; the teaching level evaluation model is obtained by iterative training based on a target training data set; the target training data set is obtained after labeling, data vectorization, data expansion, feature extraction and feature dimension reduction of multiple collected teaching data samples.

7. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the teaching level assessment method described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the teaching level assessment method described in any one of claims 1 to 5.