Improved KNN algorithm model for business administration teaching management method
By considering the balance and independence of teaching behavior data in the KNN algorithm, constructing a data space and determining the optimal k value, the problem of fixed classification results of the KNN algorithm in teaching scenarios is solved, and more accurate student classification and teaching management are achieved. .
Patent Information
- Application Number
- CN202410267380.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-08
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-03-08
AI Technical Summary
The classification results of the KNN algorithm for student teaching behavior data in teaching scenarios are relatively fixed and do not conform to the actual teaching situation. This is mainly due to the unbalanced nature of the data set and the identification of independent student behavior data as noise.
By obtaining the data balance and student independence of each type of teaching behavior, constructing the data space and calculating the distance metric, finding the fuzzy centroid to determine the optimal k value, optimizing the KNN algorithm to adapt to the non-balance and independence of the data set, and then Classify.
It achieves more accurate student classification, avoids misclassification of noise points, conforms to actual teaching scenarios, and improves the effectiveness of teaching management.
Smart Images

Figure CN118154375B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of teaching big data processing, and in particular to a teaching management method for business administration major based on an improved KNN algorithm model. Background Art
[0002] The digital intelligent teaching management platform can obtain students' teaching behavior data through big data mining. For the business administration major, there are many professional subjects involved. By combining various teaching behavior data such as professional subjects, test scores, and learning difficulties, the big data analysis algorithm is used to predict students' teaching behavior trends, thereby achieving various teaching goals such as subject adjustment and test adjustment.
[0003] In the prior art, the KNN algorithm model is a commonly used supervised learning algorithm in the field of big data. It can be used in teaching scenarios to predict student grades, classify student groups, recommend courses, etc. However, in actual data sets, because student behaviors are highly repetitive and correlated, the overall data set is an unbalanced data set with a fixed data trend, and some independent student behavior data will be identified as noise, which leads to a relatively fixed classification result of KNN for student teaching behavior data, which does not conform to the actual teaching situation. Summary of the invention
[0004] In order to solve the technical problem that the classification results of student teaching behavior data by KNN algorithm are relatively fixed and do not conform to the actual teaching situation, the purpose of the present invention is to provide a teaching management method for business administration majors based on an improved KNN algorithm model. The technical scheme adopted is as follows:
[0005] The present invention proposes a teaching management method for business administration major based on an improved KNN algorithm model, the method comprising:
[0006] Obtaining each type of teaching behavior data of each student in the business administration major; the teaching behavior data at least includes business administration major subjects;
[0007] The data balance of each type of teaching behavior is obtained according to the distribution concentration of each type of teaching behavior data; for each student, the independence of each student is obtained according to the first distribution difference between the student and the same type of teaching behavior data of other students, and the second distribution difference between all the teaching behavior data of the student and all the teaching behavior data of all students;
[0008] According to the independence, the data balance and the difference of the teaching behavior data between the students, the distance metric between the students is obtained; according to the distance metric, a data space is constructed to obtain clusters of all the students in the data space, and the fuzzy centroids between the clusters are obtained; an initial k value is set, and a target value is obtained according to the distribution characteristics of the clusters to which the students belong in the k neighborhood constructed by the fuzzy centroids in the initial k value; the initial k value is continuously changed until the target value reaches a preset cutoff condition, and an optimal k value is obtained;
[0009] According to the optimal k value and the teaching behavior data, the KNN algorithm is used to classify all the students in the data space.
[0010] Furthermore, the method for obtaining data balance includes:
[0011] Obtain a teaching behavior data histogram for each type of teaching behavior; obtain the number of teaching behavior items with frequency data in the teaching behavior data histogram, multiply the ratio of the kurtosis of the standard Gaussian distribution to the kurtosis of the teaching behavior data histogram by the number of teaching behavior items to obtain the data balance.
[0012] Furthermore, the method for obtaining the first distribution difference includes:
[0013] For each student, the frequency of the student's corresponding teaching behavior data in the teaching behavior data histogram is taken as the target frequency, and the normalized result of the ratio of the maximum frequency in the teaching behavior data histogram to the target frequency is taken as the initial distribution difference of the student in the corresponding teaching behavior; the average initial distribution difference of the student under all types of teaching behaviors is taken as the first distribution difference.
[0014] Furthermore, the method for obtaining the second distribution difference includes:
[0015] For each student, each type of teaching behavior data of the student constitutes a teaching behavior data sequence, and the average teaching behavior data of all students under each type of teaching behavior constitutes an average teaching behavior data sequence; the correlation coefficient between each student's teaching behavior data sequence and the average teaching behavior data sequence is negatively correlated and normalized to obtain the second distribution difference of each student.
[0016] Furthermore, the method for obtaining independence includes:
[0017] The product of the first distribution difference and the second distribution difference of each student is taken as the independence.
[0018] Furthermore, the method for obtaining the distance metric includes:
[0019] The distance metric is obtained according to a distance metric formula, wherein the distance metric formula includes:
[0020] Where D(a,b) represents the distance measure between student a and student b, B a For the independence of student a, A v is the data balance of the vth teaching behavior, U is the number of teaching behavior categories, is the vth type of teaching behavior data of student a, B b For the independence of student b, This is the vth type of teaching behavior data for student b.
[0021] Furthermore, the method for obtaining the fuzzy centroid includes:
[0022] Select any student sample as the target sample point, obtain the distance measurement variance between the target sample point and the cluster centers of all the clusters, change the target sample point, and when the distance measurement variance is the smallest, the corresponding student sample is the fuzzy centroid.
[0023] Furthermore, the method for obtaining the target value includes:
[0024] The quality heterogeneity index of the initial k value is obtained according to the number of clusters to which the students belong in the k neighborhood of the fuzzy centroid; the ratio between the initial k value and the number of samples of the minimum cluster is multiplied by the quality heterogeneity index to obtain the target value.
[0025] Furthermore, when the target value reaches the minimum, it is considered that the preset cutoff condition is met.
[0026] Furthermore, the initial k value is set to the number of the clustering clusters.
[0027] The present invention has the following beneficial effects:
[0028] The embodiment of the present invention takes into account that the data set of teaching behavior data may be unbalanced. For the classification of students, a balanced data set can better reflect the differences between students. Therefore, the data balance of each type of teaching behavior is obtained. In the subsequent process of obtaining the distance metric, the data balance is taken into account, and more attention can be paid to the information of the teaching behavior data with strong balance, so that the distance metric is more reasonable. Further analyzing the independence of each student, and considering the independence of the students in the subsequent process of obtaining the distance independence can make the final distance metric more in line with the actual teaching scenario. A reasonable data space can be constructed through a suitable distance metric, thereby facilitating the classification of subsequent processes. Considering that the selection of the k value in the KNN algorithm is more important, by finding the fuzzy centroid in the data space and determining the optimal k value based on the fuzzy centroid, the KNN algorithm can be classified based on the appropriate data space using the optimal k value, thereby obtaining a classification category with excellent results, and realizing effective management of the teaching behavior data of students majoring in business administration. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 A flow chart of a business administration major teaching management method based on an improved KNN algorithm model provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the teaching management method of business administration major based on an improved KNN algorithm model proposed by the present invention, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0032] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0033] The specific scheme of the business administration major teaching management method of an improved KNN algorithm model provided by the present invention is described in detail below with reference to the accompanying drawings.
[0034] See also Figure 1 , which shows a flow chart of a business administration major teaching management method of an improved KNN algorithm model provided by an embodiment of the present invention, the method comprising:
[0035] Step S1: Obtain each type of teaching behavior data of each student in the business administration major.
[0036] For the business administration major, its professional subject types include law, economics, management and other subject categories. Therefore, the course setting for the business administration major is an important link in the teaching management platform. Therefore, when collecting students' teaching behavior data, at least business administration subjects must be included. For example, if a student's teaching plan includes economics subjects, then the student's teaching behavior data in the business administration professional subject category is the identification value of the economics subject.
[0037] It should be noted that teaching behavior data can also include test scores, credit points, outdoor activity duration, activity types, etc., which can be selected according to the purpose of big data analysis. For example, if you want to predict students' course interests, you can choose teaching behavior data such as business administration subjects, student grades, class attendance rate, homework completion rate, etc.
[0038] It should be noted that in the embodiments of the present invention, the collected teaching behavior data need to be quantified so that the data is a value between 0 and 1. For example, the identification value of the above economics subject can be set to 0.01, and the test scores can be directly normalized, etc., which facilitates big data analysis. In other embodiments of the present invention, it can also be converted into a fixed-bit data code for analysis. The specific content is a technical means well known to technicians in the field of big data analysis, which will not be elaborated here.
[0039] Step S2: Obtain the data balance of each type of teaching behavior based on the distribution concentration of each type of teaching behavior data; for each student, obtain the independence of each student based on the first distribution difference between the student and other students' similar teaching behavior data, and the second distribution difference between all the student's teaching behavior data and all the teaching behavior data of the entire students.
[0040] In the process of analyzing teaching big data, if the overall data set of a certain type of teaching behavior data has unbalanced characteristics and the data set distribution is too concentrated, the classification result will be biased towards a certain category when classifying students based on this type of behavior data, which does not conform to the actual situation. Therefore, in the actual classification process, it is necessary to consider the data balance of the data set corresponding to each type of teaching behavior. The more concentrated the distribution of teaching behavior data is, the worse the balance is. Therefore, the data balance of each type of teaching behavior can be obtained based on the distribution concentration of each type of teaching behavior data.
[0041] Preferably, in one embodiment of the present invention, the method for obtaining data balance includes:
[0042] Obtain the teaching behavior data histogram for each type of teaching behavior; the data histogram can intuitively reflect the distribution of this type of teaching behavior data. Obtain the number of teaching behavior items with frequency data in the teaching behavior data histogram, and the number of items is the data category included in this type of teaching behavior data, such as economics, accounting, microeconomics, etc. in the business administration professional subject. The larger the number of items, the richer the data category of this type of teaching behavior, the less concentrated the data distribution will be, and the stronger the balance. Multiply the ratio of the kurtosis of the standard Gaussian distribution to the kurtosis of the teaching behavior data histogram by the number of teaching behavior items to obtain data balance. The larger the kurtosis ratio, the smaller the peak of the data in the data histogram, which means that the data distribution is less concentrated and the data balance is stronger. Data balance is expressed by the formula: Among them A v is the data balance of the vth type of teaching behavior, G v is the number of items in the histogram of the teaching behavior data of the vth type of teaching behavior, Q v is the kurtosis of the number of items in the histogram of the teaching behavior data of the vth type of teaching behavior, and the kurtosis of the standard Gaussian distribution is 3.
[0043] It should be noted that the construction of the histogram and the acquisition of the kurtosis are both technical means well known to those skilled in the art and will not be elaborated here.
[0044] In order to avoid some independent students being identified as noise points in the subsequent classification process, the independence of the students needs to be analyzed. The more independent a student is, the more differences there will be in the same type of teaching behavior data relative to other students. Therefore, the first distribution difference between the student and other students’ teaching behavior data of the same type is obtained first; the first distribution difference is based on the analysis of each type of teaching behavior data, and all teaching behavior data should be further comprehensively analyzed to obtain the second distribution difference between all the teaching behavior data of the student and all the teaching behavior data of the overall students. The independence of each student can be obtained based on the first distribution difference and the second distribution difference, that is, the greater the distribution difference, the stronger the independence.
[0045] Preferably, in one embodiment of the present invention, the method for obtaining the first distribution difference includes:
[0046] For each student, the frequency of the student's corresponding teaching behavior data in the teaching behavior data histogram is taken as the target frequency, and the normalized result of the ratio of the maximum frequency to the target frequency in the teaching behavior data histogram is taken as the initial distribution difference of the student in the corresponding teaching behavior. The larger the ratio of the maximum frequency to the target frequency, the smaller the target frequency, and the greater the difference between this type of teaching behavior data and the conventional teaching behavior data. The average initial distribution difference of the students under all types of teaching behaviors is taken as the first distribution difference. The larger the average initial distribution difference, the greater the difference in the corresponding students as a whole for all categories of teaching behavior data, and the stronger the independence.
[0047] In one embodiment of the present invention, the first distribution difference is expressed by the formula:
[0048] Among them C a represents the first distribution difference of student a, U represents the number of teaching behavior categories, represents the frequency of the v-th teaching behavior data of student a in the teaching behavior data histogram of the v-th teaching behavior, maxρ v is the maximum frequency in the histogram of the teaching behavior data of the vth type of teaching behavior, log 2 is the logarithmic function with base 2.
[0049] In the first distribution difference formula, a logarithmic function is used to normalize the result. In other embodiments of the present invention, conventional mathematical means such as range standardization and hyperbolic function mapping may also be used to achieve the purpose of normalization, which will not be limited or elaborated here.
[0050] Preferably, in one embodiment of the present invention, the method for obtaining the second distribution difference includes:
[0051] The first distribution difference is based on the difference in the analysis of each type of teaching behavior data, while the second distribution difference focuses more on the distribution characteristics of all teaching behavior data as a whole. For each student, each type of teaching behavior data of the student constitutes a teaching behavior data sequence, and the average teaching behavior data of all students under each type of teaching behavior constitutes an average teaching behavior data sequence; the correlation coefficient between each student's teaching behavior data sequence and the average teaching behavior data sequence is negatively correlated and normalized to obtain the second distribution difference of each student. That is, the average teaching behavior data sequence is used to characterize the overall teaching behavior data of all students, and then the correlation coefficient is obtained. The larger the correlation coefficient, the more biased all the teaching behavior data of the students are towards the conventional overall distribution, and the worse the independence. Therefore, the second distribution difference can be obtained after the correlation coefficient is negatively correlated and normalized. It should be noted that the arrangement of the elements in the teaching behavior data sequence needs to be arranged in a fixed order to ensure the accuracy of the correlation coefficient calculation.
[0052] In one embodiment of the present invention, the correlation coefficient is the Pearson correlation coefficient, and the second distribution difference is expressed by the formula:
[0053] Where D a is the second distribution difference of student a, Z a is the teaching behavior data sequence of student a, is the average teaching behavior data series, is the Pearson correlation coefficient between the two sequences. Since the value of the Pearson correlation coefficient is between -1 and 1, the negative correlation mapping and normalization are realized by processing the constants in the formula, and the value of the second distribution difference is limited to between 0 and 1.
[0054] In one embodiment of the present invention, because the greater the first distribution difference and the second distribution difference are, the greater the independence is, the product of the first distribution difference and the second distribution difference of each student is taken as the independence.
[0055] Step S3: Obtain the distance metric between students based on independence, data balance and differences in teaching behavior data between students; construct a data space based on the distance metric, obtain clusters of all students in the data space, and obtain the fuzzy centroids between the clusters; set an initial k value, and obtain a target value based on the distribution characteristics of the clusters to which the students belong within the k neighborhood constructed by the fuzzy centroids at the initial k value; continuously change the initial k value until the target value reaches the preset cutoff condition to obtain the optimal k value.
[0056] Conventional data space construction is only based on the differences in teaching behavior data between students. This construction process does not take into account the imbalance of the data set and the independence of some students, resulting in poor classification results in the constructed data space after executing the KNN algorithm. Therefore, in the process of calculating the distance metric between students, it is necessary not only to consider the differences in teaching behavior data, but also to consider the independence of the corresponding students and the balance of data, so as to obtain a suitable and accurate distance metric. By adding data balance to the distance metric calculation process, the information of the teaching behavior category with better balance can be paid more attention to in the distance metric calculation process; by adding independence, the distance between independent students and other students can be magnified, which can increase the probability of independent students forming separate clusters in the subsequent data space.
[0057] Preferably, in one embodiment of the present invention, the distance metric is obtained according to a distance metric formula, and the distance metric formula includes:
[0058] Where D(a,b) represents the distance measure between student a and student b, B a For the independence of student a, A vis the data balance of the vth teaching behavior, U is the number of teaching behavior categories, is the vth type of teaching behavior data of student a, B b For the independence of student b, This is the vth type of teaching behavior data for student b.
[0059] It can be seen from the distance measurement formula that the distance measurement mainly adds data balance and independence as weights on the basis of the cosine similarity formula, and then adjusts the result of the distance measurement. By optimizing the cosine similarity formula by independence and data balance, it is possible to focus on category information with strong data balance in all categories of teaching behaviors, increase the difference between isolated students and other students, make subsequent classification results more refined, and avoid isolated students becoming noise points or being mistakenly classified as a certain type of cluster.
[0060] After obtaining the distance metric, the data space can be constructed. In the classification process, the KNN algorithm mainly selects the k data with the closest distance from the target sample. The category with the most occurrences among the k data is the category of the target sample. Therefore, there are two main features that affect the data in the KNN algorithm. The first is the category information of the existing data, and the second is the selection of the k value. The first main feature is to obtain the clusters of all students by clustering the student sample points in the data space constructed by the distance metric, that is, each cluster represents a category, and then obtain the category information. The second main feature requires determining the optimal k value based on the data space and the classification results of the clusters, and then optimizing and improving the KNN algorithm.
[0061] In one embodiment of the present invention, the K-means clustering method is selected for clustering, the number of clusters in the K-means clustering process is obtained by the elbow method, clustering is performed according to the sample points in the data space, and clusters with less than 5 samples are screened out, so that the clustering results can have at least one cluster composed of several isolated samples, so that independent student samples can also be classified and predictable.
[0062] The fuzzy centroid in the current clustering result is further obtained. Since the sample corresponding to the fuzzy centroid is the sample with the most fuzzy relationship with all clusters in the current data space, the optimal k value can be determined by taking the fuzzy centroid as the analysis object.
[0063] Preferably, in one embodiment of the present invention, the method for obtaining the fuzzy centroid includes:
[0064] Select any student sample as the target sample point, and obtain the distance measurement variance between the target sample point and the cluster centers of all clusters. The smaller the variance, the more uniform the distance between the target sample point and all clusters, and the more consistent with the centroid characteristics. Change the target sample point, and when the distance measurement variance is the smallest, the corresponding student sample is the fuzzy centroid.
[0065] Taking the fuzzy centroid as the analysis object, the initial k value is first set. For the k value, if the sample classification results in the corresponding k neighborhood are more concentrated, it means that the information reference in the k neighborhood constructed by the current k value is stronger and the noise interference is weaker. Therefore, the target value is obtained according to the distribution characteristics of the clusters to which the students belong in the k neighborhood constructed by the fuzzy centroid at the initial k value, and the initial k value is continuously changed until the target value reaches the preset cutoff condition to obtain the optimal k value.
[0066] Preferably, in one embodiment of the present invention, the method for obtaining the target value includes:
[0067] The quality index of the initial k value is obtained according to the number of clusters to which the students belong in the k neighborhood of the fuzzy centroid. The ratio between the initial k value and the number of samples of the smallest cluster is multiplied by the quality index to obtain the target value. The larger the quality index, the more evenly the student samples in the k neighborhood are distributed among all the sample clusters, the classification results are not concentrated, and the division is relatively fuzzy; the smaller the quality index, the more concentrated the distribution of the cluster results of the student samples in the k neighborhood, which means that the classification results for the fuzzy centroid samples are more likely to appear, that is, the smaller the quality index, the better the corresponding k value effect; the ratio between the initial k value and the number of samples of the smallest cluster is a penalty term, and the larger the ratio, the larger the k value. An excessively large k value will cause more useless noise information in the k neighborhood, so the target value will also become larger, indicating that the k value effect is worse. That is, the smaller the quality index and the smaller the penalty term, the smaller the target value, indicating that the k value is better. Therefore, in one embodiment of the present invention, when the target value reaches the minimum, it is considered that the preset cutoff condition is met.
[0068] The target value is expressed as:
[0069] Among them, E is the target value, T is the number of clusters, k is the initial k value, and f r is the number of student samples in the k-neighborhood that belong to the r-th cluster, minI r is the number of samples of the smallest cluster. It should be noted that the quality difference index is a technical means well known to those skilled in the art and will not be described in detail here.
[0070] In one embodiment of the present invention, in order to reduce the amount of computation in the k-value iteration process, the initial k value is set to the number of clusters, and the k value is iterated upward, that is, the k value in each iteration process is greater than the k value of the previous iteration. In one embodiment of the present invention, the step size of the upward iteration k value is set to 1.
[0071] Step S4: Based on the optimal k value and teaching behavior data, use the KNN algorithm to classify all students in the data space.
[0072] According to the optimal k value, the KNN algorithm can be executed in the data space using the optimal k value. It should be noted that because the data space is constructed by known sample points, and the implementation object of the KNN algorithm should be an unknown sample without category information, in the embodiment of the present invention, all student samples of the obtained data are set as training sets and validation sets in a ratio of three to seven. That is, the data space is constructed and the optimal k value is obtained through a small amount of training set data, and the samples in the validation set are accurately classified according to the training results, so as to obtain a clear and clear classification result. In the subsequent process, the digital intelligent teaching management platform can use data prediction and other methods to analyze the subject registration trend, student performance trend and other information in the business administration major, so as to achieve scientific teaching management.
[0073] In summary, the embodiment of the present invention obtains each type of teaching behavior data of each student in the business administration major, and further obtains the data balance of each type of teaching behavior, as well as the independence of each student. According to the data balance, independence, and the differences in the teaching behavior data between students, a data space is constructed to obtain clusters and fuzzy centroids, and the optimal k value is further obtained by iterating the k value. According to the optimal k value and the teaching behavior data, the KNN algorithm is used to classify all students in the data space. The present invention improves the KNN algorithm by obtaining an accurate data space and an optimal k value, thereby obtaining accurate classification results for students in the business administration major, and facilitating the platform's teaching management of students and their data.
[0074] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0075] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A teaching management method for business administration major based on an improved KNN algorithm model, characterized in that: The method comprises: Obtaining each type of teaching behavior data of each student in the business administration major; the teaching behavior data includes business administration major subjects, test scores, credit points, outdoor activity duration, and activity types; the business administration major subjects include at least law, economics, and management subjects; The data balance of each type of teaching behavior is obtained according to the distribution concentration of each type of teaching behavior data; for each student, the independence of each student is obtained according to the first distribution difference between the student and the same type of teaching behavior data of other students, and the second distribution difference between all the teaching behavior data of the student and all the teaching behavior data of all students; According to the independence, the data balance and the difference of the teaching behavior data between the students, the distance metric between the students is obtained; according to the distance metric, a data space is constructed to obtain clusters of all the students in the data space, and the fuzzy centroids between the clusters are obtained; an initial k value is set, and a target value is obtained according to the distribution characteristics of the clusters to which the students belong in the k neighborhood constructed by the fuzzy centroids in the initial k value; the initial k value is continuously changed until the target value reaches a preset cutoff condition, and an optimal k value is obtained; According to the optimal k value and the teaching behavior data, the KNN algorithm is used to classify all the students in the data space; The method for obtaining data balance includes: Obtaining a teaching behavior data histogram for each type of teaching behavior; obtaining the number of teaching behavior items with frequency data in the teaching behavior data histogram, and multiplying the ratio of the kurtosis of the standard Gaussian distribution to the kurtosis of the teaching behavior data histogram by the number of teaching behavior items to obtain the data balance; The method for obtaining the first distribution difference includes: For each student, the frequency of the student's corresponding teaching behavior data in the teaching behavior data histogram is taken as the target frequency, and the normalized result of the ratio of the maximum frequency in the teaching behavior data histogram to the target frequency is taken as the initial distribution difference of the student in the corresponding teaching behavior; the average initial distribution difference of the student under all types of teaching behaviors is taken as the first distribution difference; The method for obtaining the second distribution difference includes: For each student, each type of teaching behavior data of the student constitutes a teaching behavior data sequence, and the average teaching behavior data of all students under each type of teaching behavior constitutes an average teaching behavior data sequence; negatively correlate and normalize the correlation coefficient between each student's teaching behavior data sequence and the average teaching behavior data sequence to obtain the second distribution difference of each student; The method for obtaining the independence includes: Taking the product of the first distribution difference and the second distribution difference of each student as the independence; The method for obtaining the distance metric includes: The distance metric is obtained according to a distance metric formula, wherein the distance metric formula includes: Where D(a,b) represents the distance measure between student a and student b, B a For the independence of student a, A v is the data balance of the vth teaching behavior, U is the number of teaching behavior categories, is the vth type of teaching behavior data of student a, B b For the independence of student b, This is the vth type of teaching behavior data for student b.
2. According to the improved KNN algorithm model of claim 1, the teaching management method of business administration major is characterized in that: The method for obtaining the fuzzy centroid includes: Select any student sample as the target sample point, obtain the distance measurement variance between the target sample point and the cluster centers of all the clusters, change the target sample point, and when the distance measurement variance is the smallest, the corresponding student sample is the fuzzy centroid.
3. The teaching management method of business administration major based on an improved KNN algorithm model according to claim 1 is characterized in that: The method for obtaining the target value includes: The quality heterogeneity index of the initial k value is obtained according to the number of clusters to which the students belong in the k neighborhood of the fuzzy centroid; the ratio between the initial k value and the number of samples of the minimum cluster is multiplied by the quality heterogeneity index to obtain the target value.
4. The teaching management method of business administration major based on the improved KNN algorithm model according to claim 3 is characterized in that: When the target value reaches the minimum, it is considered that the preset cutoff condition is met.
5. The teaching management method of business administration major based on the improved KNN algorithm model according to claim 1 is characterized in that: The initial k value is set to the number of the clusters.
