Student lecture recommendation method based on machine learning

By evaluating sample similarity conversion labels and improving the clustering parameter acquisition algorithm, the problem of feature selection and clustering stability in student lecture recommendation is solved, and the clustering performance and result quality are improved.

CN118551237BInactive Publication Date: 2024-10-18SHANDONG POLYTECHNIC COLLEGE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411018090.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing student lecture recommendation methods have the problems of too many redundant features and over-fitting in the feature selection process. Improper settings of built-in parameters in the clustering algorithm lead to unstable clustering results and affect the quality of clustering.

Method used

By evaluating the similarity between samples, some sample data are converted into labels, and circular chaos mapping, mutation factors and replacement strategies are used to improve the clustering parameter acquisition algorithm and improve the flexibility and stability of feature selection and clustering.

Benefits of technology

It enhances the flexibility of feature selection and clustering performance, improves the quality and generalization ability of clustering results, and ensures a stable range of cluster changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551237B_ABST
    Figure CN118551237B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for recommending student lectures based on machine learning, and the method includes data collection, data preprocessing, feature selection, clustering and personalized lecture recommendation. The present invention relates to the technical field of recommendation data processing, and specifically refers to a method for recommending student lectures based on machine learning. The present invention proposes a feature selection method that evaluates the similarity between samples and converts part of the sample data into labels, thereby enhancing the flexibility and operability of the feature selection process, providing a better feature subset for clustering, and thus improving the performance and generalization ability of clustering; circular chaos mapping, mutation factors and replacement strategies are used to improve the algorithm for obtaining clustering parameters, find a stable cluster variation range, and improve the quality of clustering results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of recommendation data processing, and in particular to a student lecture recommendation method based on machine learning. Background Art

[0002] Current methods for recommending student lectures usually provide corresponding lecture content and recommendations based on the students' personal conditions and participation in lectures through certain algorithms to meet the students' personalized needs. However, there are problems in the feature selection process of general lecture recommendation methods, such as selecting too many redundant features and overfitting in feature selection; there are problems in the clustering algorithm of general lecture recommendation methods, such as improper built-in parameter settings, which leads to unstable clustering results and affects the quality of clustering results. Summary of the invention

[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a student lecture recommendation method based on machine learning. In view of the problems of selecting too many redundant features and overfitting in feature selection in general feature selection methods, this scheme proposes a feature selection method that evaluates the similarity between samples and converts part of the sample data into labels, thereby enhancing the flexibility and operability of the feature selection process, providing a better feature subset for clustering, thereby improving the performance and generalization ability of clustering; in view of the problem that improper built-in parameter settings in clustering methods lead to instability of clustering results, thereby affecting the quality of clustering results, this scheme adopts circular chaos mapping, mutation factors and replacement strategies to improve the algorithm for obtaining clustering parameters, find a stable cluster variation range, and improve the quality of clustering results.

[0004] The technical solution adopted by the present invention is as follows: The student lecture recommendation method based on machine learning provided by the present invention comprises the following steps:

[0005] Step S1: data collection;

[0006] Step S2: data preprocessing;

[0007] Step S3: feature selection;

[0008] Step S4: clustering;

[0009] Step S5: Personalized lecture recommendation.

[0010] Furthermore, in step S1, the data collection is to collect historical lecture recommendation data and real-time lecture recommendation data; the historical lecture recommendation data and real-time lecture recommendation data both include student personal information data, lecture information data and student preference data; the student personal information data includes student age, gender, school, grade and major; the lecture information data includes the topic of the lecture, the category of the lecture and the lecturer of the lecture; the student preference data includes the subject area of ​​interest, the preferred lecture format and the preferred lecturer style; the historical lecture recommendation data also includes lecture feedback satisfaction; the lecture feedback satisfaction is used as a data label; the historical lecture recommendation data is used as labeled data; and the real-time lecture recommendation data is used as unlabeled data.

[0011] Furthermore, in step S2, the data preprocessing performs data cleaning, data conversion and standardization on the collected data; the data cleaning is to process missing values, outliers and duplicate values; the data conversion is to convert the data into a vector form; and the standardization is to standardize the data based on the maximum and minimum normalization method.

[0012] Furthermore, in step S3, the feature selection specifically includes the following steps:

[0013] Step S31: Generate a fuzzy label set; the formula is as follows:

[0014] ;

[0015] ;

[0016] In the formula, Represents the fuzzy membership vector of the i-th label of sample w; Represents the k nearest labeled samples of sample w; Represents the fuzzy similarity relationship between sample w and sample z; Represents the fuzzy membership vector of the i-th label; Represents a collection of unlabeled sample data; represents the set of labeled sample data; s represents the different categories of the labeled sample set in terms of decision features; Represents the set of fuzzy membership vectors obtained by fuzzy partitioning of each sample object;

[0017] Step S32: Initialize the feature subset and set it to an empty set: fs={};

[0018] Step S33: Calculate the fuzzy coverage value under the conditional feature; for each conditional feature , calculate the fuzzy coverage under this conditional feature; the formula is as follows:

[0019] ;

[0020] ;

[0021] In the formula, Represents conditional features In the sample and The fuzzy membership vector between ; Represents the radius parameter that controls the granularity of the fuzzy information; Represents the fuzzy covering set, which is the i-th instance of the fuzzy concept and contains all sample objects in the conditional feature The fuzzy membership vector under ; represents a set of conditional features; Representation sample In conditional features The value of Representation sample In conditional features The value of represents the fuzzy membership vector of the t-th sample;

[0022] Step S34: Calculate the fuzzy positive domain of the fuzzy concept; the formula is as follows:

[0023] ;

[0024] In the formula, represents the fuzzy positive domain; represents the fuzzy membership vector of the jth label; ∪ represents the operation of finding the union;

[0025] Step S35: All fuzzy covers form a set; the formula is as follows:

[0026] ;

[0027] Where V represents all fuzzy cover sets; n represents the number of conditional features;

[0028] Step S36: Select the conditional feature with the highest significance; the formula is as follows:

[0029] ;

[0030] In the formula, Representing feature subsets Relative to a fuzzy membership function not included External salience; Represents the fuzzy region of the fuzzy concept corresponding to the fuzzy membership function;

[0031] Step S37: adding the selected conditional features to the feature subset, and updating the feature subset fuzzy positive domain coverage and the feature subset;

[0032] Step S38: feature result output; if the fuzzy positive domain of the feature subset is the same as the coverage of all fuzzy positive domains, the iteration is terminated and the best feature result is obtained, otherwise continue to select the conditional feature with the highest significance.

[0033] Furthermore, in step S4, the clustering specifically includes the following steps:

[0034] Step S41: performing a DBSCAN clustering operation on the real-time lecture recommendation data;

[0035] Step S42: Optimizing clustering parameters, including the following steps:

[0036] Step S421: Initialize parameters; population size N, producer ratio P N , the proportion of perceivers S N ; Maximum number of iterations t max ; Search lower limit lb and upper limit ub; Warning value R 2 ;Safety threshold ST;

[0037] Step S422: Initialize the population; including the following steps:

[0038] Step S4221: Generate N chaotic sequence values ​​and initialize the random value z 0 ; The formula used is as follows:

[0039] ;

[0040] In the formula, represents the i-th chaotic sequence value; represents the i+1th chaotic sequence value;

[0041] Step S4222: Chaotic sequence value conversion search individual; the formula is as follows:

[0042] ;

[0043] In the formula, represents the position of the i-th individual;

[0044] Step S423: Population division: Calculate the fitness value f of individuals in the population i ; The silhouette coefficient of the clustering result after DBSCAN clustering of the real-time recommendation data based on the individual position is used as the individual fitness value; the individuals are sorted from best to worst according to the fitness value, and producers and scavengers are divided; the individual with the best fitness f is found b and its position X b, and the individual f with the worst fitness w and its position X w ;

[0045] Step S424: Obtain the mutation factor; the formula used is as follows:

[0046] ;

[0047] In the formula, represents the changed T-distribution mutation factor, a factor used to adjust the mutation degree; t represents the number of iterations; m represents the scaling factor, which is a constant; t c represents the critical point in the iteration process;

[0048] Step S425: Update the producer position; the formula used is as follows:

[0049] ;

[0050] In the formula, represents the position of the i-th individual in the (t + 1)-th generation population; represents the position of the i-th individual in the t-th generation population; α, r 1 , r 2 and r 3 represent randomness parameters within the range of [0, 1]; represents the position of a random individual in the population; is a smoothing term; u represents a randomness constant within the range of [6, 10]; R 2 <ST indicates that there are no enemies nearby and it is in a safe position; R 2 ≥ST indicates that there are enemies nearby and it is necessary to change to another area;

[0051] Step S426: Update the scavenger position; the formula used is as follows:

[0052] ;

[0053] In the formula, represents the position of the individual with the best fitness value in the population at the (t + 1)-th iteration; A + represents the dimension pseudo-inverse matrix, and the elements are randomly assigned 1 or -1; L represents a vector with all elements being 1;

[0054] Step S427: Update the perceiver position; randomly select 10% of the individuals in the population as perceivers and perform position update; the formula used is as follows:

[0055] ;

[0056] In the formula, represents the position of the individual with the best fitness in the population at the tth iteration; represents the position of the individual with the worst fitness in the population at the tth iteration; represents a standard normally distributed random number with mean 0 and variance 1; K represents a uniformly distributed random number in the interval [−1,1]; It is the smallest constant that avoids the denominator being zero;

[0057] Step S428: Replacement strategy: select 5% of the individuals with the worst fitness to eliminate, and generate new individuals to replace the eliminated individuals; the formula used is as follows:

[0058] ;

[0059] Step S429: Search judgment. A fitness threshold is set in advance. When there is an individual fitness value higher than the fitness threshold, the hyperparameter search is completed, and the optimal individual position, that is, the clustering algorithm eps and MinPts parameters, are obtained to obtain the final clustering result; if the maximum number of iterations is reached, the iteration is terminated and the optimal individual position is obtained, otherwise the iterative search continues to update the position.

[0060] Furthermore, in step S5, the personalized lecture recommendation is to make personalized lecture recommendations to students based on the final clustering results, and the recommendation scheme represented by the data points in the cluster with a high silhouette coefficient is preferentially selected.

[0061] The beneficial effects achieved by the present invention using the above scheme are as follows:

[0062] (1) In order to solve the problem of selecting too many redundant features and overfitting in feature selection in general feature selection methods, this scheme proposes a feature selection method that evaluates the similarity between samples and converts part of the sample data into labels. This method enhances the flexibility and operability of the feature selection process and provides a better feature subset for clustering, thereby improving the performance and generalization ability of clustering.

[0063] (2) In order to solve the problem that improper built-in parameter settings in clustering methods lead to unstable clustering results, thus affecting the quality of clustering results, this scheme adopts circular chaos mapping, mutation factor and replacement strategy to improve the algorithm for obtaining clustering parameters, find a stable cluster variation range, and improve the quality of clustering results. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 A schematic diagram of a flow chart of a student lecture recommendation method based on machine learning provided by the present invention;

[0065] Figure 2 is a schematic flow chart of step S3;

[0066] Figure 3is a schematic flow chart of step S4;

[0067] Figure 4 is a flow chart of step S42;

[0068] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0069] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0070] In the description of the present invention, it is necessary to understand that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred system or element must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.

[0071] Example 1, see Figure 1 The student lecture recommendation method based on machine learning provided by the present invention comprises the following steps:

[0072] Step S1: data collection, collecting historical lecture recommendation data and real-time lecture recommendation data;

[0073] Step S2: Data preprocessing, data cleaning, data conversion and standardization of the collected data;

[0074] Step S3: Feature selection, constructing fuzzy relationships through fuzzy label assignment, and selecting the conditional features with the highest significance according to the greedy strategy;

[0075] Step S4: Clustering, performing DBSCAN clustering operation on the real-time lecture recommendation data; and using circular chaos mapping, mutation factor and replacement strategy to establish a parameter optimization algorithm, so as to obtain clustering algorithm eps and MinPts parameters;

[0076] Step S5: Personalized lecture recommendation: personalized lecture recommendations are made to students based on the final clustering results.

[0077] Example 2, see Figure 1This embodiment is based on the above embodiment. In step S1, the data collection is to collect historical lecture recommendation data and real-time lecture recommendation data; the historical lecture recommendation data and real-time lecture recommendation data both include student personal information data, lecture information data and student preference data; the student personal information data includes student age, gender, school, grade and major; the lecture information data includes the topic of the lecture, the category of the lecture and the lecturer of the lecture; the student preference data includes the subject area of ​​interest, the favorite lecture format and the preferred lecturer style; the historical lecture recommendation data also includes lecture feedback satisfaction; the lecture feedback satisfaction is used as a data label; the historical lecture recommendation data is used as labeled data; and the real-time lecture recommendation data is used as unlabeled data.

[0078] Example 3, see Figure 1 This embodiment is based on the above embodiment. In step S2, the data preprocessing performs data cleaning, data conversion and standardization on the collected data; the data cleaning is to process missing values, abnormal values ​​and duplicate values; the data conversion is to convert the data into a vector form; the standardization is to standardize the data based on the maximum and minimum normalization method.

[0079] Example 4, see Figure 1 and Figure 2 This embodiment is based on the above embodiment. In step S3, the feature selection establishment specifically includes the following steps:

[0080] Step S31: Generate a fuzzy label set; the formula is as follows:

[0081] ;

[0082] ;

[0083] In the formula, Represents the fuzzy membership vector of the i-th label of sample w; Represents the k nearest labeled samples of sample w; Represents the fuzzy similarity relationship between sample w and sample z; Represents the fuzzy membership vector of the i-th label; Represents a collection of unlabeled sample data; represents the set of labeled sample data; s represents the different categories of the labeled sample set in terms of decision features; Represents the set of fuzzy membership vectors obtained by fuzzy partitioning of each sample object;

[0084] Step S32: Initialize the feature subset and set it to an empty set: fs={};

[0085] Step S33: Calculate the fuzzy coverage value under the conditional feature; for each conditional feature , calculate the fuzzy coverage under this conditional feature; the formula is as follows:

[0086] ;

[0087] ;

[0088] In the formula, Represents conditional features In the sample and The fuzzy membership vector between ; Represents the radius parameter that controls the granularity of the fuzzy information; Represents the fuzzy covering set, which is the i-th instance of the fuzzy concept and contains all sample objects in the conditional feature The fuzzy membership vector under ; represents a set of conditional features; Representation sample In conditional features The value of Representation sample In conditional features The value of represents the fuzzy membership vector of the t-th sample;

[0089] Step S34: Calculate the fuzzy positive domain of the fuzzy concept; the formula is as follows:

[0090] ;

[0091] In the formula, represents the fuzzy positive domain; represents the fuzzy membership vector of the jth label; ∪ represents the operation of finding the union;

[0092] Step S35: All fuzzy covers form a set; the formula is as follows:

[0093] ;

[0094] Where V represents all fuzzy cover sets; n represents the number of conditional features;

[0095] Step S36: Select the conditional feature with the highest significance; the formula is as follows:

[0096] ;

[0097] In the formula, Representing feature subsets Relative to a fuzzy membership function not included External salience; Represents the fuzzy region of the fuzzy concept corresponding to the fuzzy membership function;

[0098] Step S37: adding the selected conditional features to the feature subset, and updating the feature subset fuzzy positive domain coverage and the feature subset;

[0099] Step S38: feature result output; if the fuzzy positive domain of the feature subset is the same as the coverage of all fuzzy positive domains, the iteration is terminated and the best feature result is obtained, otherwise continue to select the conditional feature with the highest significance.

[0100] By performing the above operations, in order to address the problems of selecting too many redundant features and overfitting in feature selection in general feature selection methods, this scheme proposes a feature selection method that evaluates the similarity between samples and converts part of the sample data into labels, thereby enhancing the flexibility and operability of the feature selection process and providing a better feature subset for clustering, thereby improving the performance and generalization ability of clustering.

[0101] Example 5, see Figure 1 , Figure 3 and Figure 4 This embodiment is based on the above embodiment. In step S4, the clustering specifically includes the following steps:

[0102] Step S41: performing a DBSCAN clustering operation on the real-time lecture recommendation data;

[0103] Step S42: Optimizing clustering parameters, including the following steps:

[0104] Step S421: Initialize parameters; population size N, producer ratio P N , the proportion of perceivers S N ; Maximum number of iterations t max ; Search lower limit lb and upper limit ub; Warning value R 2 ;Safety threshold ST;

[0105] Step S422: Initialize the population; including the following steps:

[0106] Step S4221: Generate N chaotic sequence values ​​and initialize the random value z 0 ; The formula used is as follows:

[0107] ;

[0108] In the formula, represents the i-th chaotic sequence value; represents the i+1th chaotic sequence value;

[0109] Step S4222: Convert the chaotic sequence value to search for individuals; the formula is as follows:

[0110] ;

[0111] In the formula, represents the position of the i-th individual;

[0112] Step S423: Population division: Calculate the fitness value f of individuals in the population i ; Use the silhouette coefficient of the clustering result after DBSCAN clustering on the real-time recommendation data based on the individual position as the fitness value of the individual; Sort the individuals from the best to the worst according to the fitness value, and divide them into producers and scavengers; Find the individual f with the best fitness b and its position X b , and the individual f with the worst fitness w and its position X w ;

[0113] Step S424: Obtain the mutation factor; the formula used is as follows:

[0114] ;

[0115] In the formula, represents the changed T-distribution mutation factor, a factor used to adjust the mutation degree; t represents the number of iterations; m represents the scaling factor, which is a constant; t c represents the critical point in the iteration process;

[0116] Step S425: Update the position of the producer; the formula used is as follows:

[0117] ;

[0118] In the formula, represents the position of the i-th individual in the (t + 1)-th generation population; represents the position of the i-th individual in the t-th generation population; α, r 1 , r 2 and r 3 represent randomness parameters within the range of [0, 1]; represents the position of a random individual in the population; is a smoothing term; u represents a randomness constant within the range of [6, 10]; R 2 <ST indicates that there is no enemy nearby and it is in a safe position; R 2 ≥ST indicates that there is an enemy nearby and a different area needs to be changed;

[0119] Step S426: Update the position of the scavenger; the formula used is as follows:

[0120] ;

[0121] In the formula, A represents the position of the individual with the best fitness value in the population at the t+1th iteration; + express Dimension pseudo-inverse matrix, elements are randomly assigned 1 or -1; L represents a vector whose all elements are 1;

[0122] Step S427: Update the perceiver position; randomly select 10% of the individuals in the population as perceivers and update their positions; the formula used is as follows:

[0123] ;

[0124] In the formula, represents the position of the individual with the best fitness in the population at the tth iteration; represents the position of the individual with the worst fitness in the population at the tth iteration; represents a standard normally distributed random number with mean 0 and variance 1; K represents a uniformly distributed random number in the interval [−1,1]; It is the smallest constant that avoids the denominator being zero;

[0125] Step S428: Replacement strategy: select 5% of the individuals with the worst fitness to eliminate, and generate new individuals to replace the eliminated individuals; the formula used is as follows:

[0126] ;

[0127] Step S429: Search judgment. A fitness threshold is set in advance. When there is an individual fitness value higher than the fitness threshold, the hyperparameter search is completed, and the optimal individual position, that is, the clustering algorithm eps and MinPts parameters, are obtained to obtain the final clustering result; if the maximum number of iterations is reached, the iteration is terminated and the optimal individual position is obtained, otherwise the iterative search continues to update the position.

[0128] By performing the above operations, in order to solve the problem that improper built-in parameter settings in the clustering method lead to unstable clustering results, thus affecting the quality of clustering results, this scheme adopts circular chaos mapping, mutation factor and replacement strategy to improve the algorithm for obtaining clustering parameters, find a stable cluster variation range, and improve the quality of clustering results.

[0129] Example 6, see Figure 1 This embodiment is based on the above embodiment. In step S5, the personalized lecture recommendation is to make personalized lecture recommendations to students based on the final clustering results, and the recommendation scheme represented by the data points in the cluster with a high silhouette coefficient is preferentially selected.

[0130] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0131] While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.

[0132] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. Student lecture recommendation method based on machine learning, Features: The method comprises the following steps: Step S1: data collection, collecting historical lecture recommendation data and real-time lecture recommendation data; Step S2: Data preprocessing, data cleaning, data conversion and standardization of the collected data; Step S3: Feature selection, constructing fuzzy relationships through fuzzy label assignment, and selecting the conditional features with the highest significance according to the greedy strategy; Step S4: Clustering, performing DBSCAN clustering operation on the real-time lecture recommendation data; and using circular chaos mapping, mutation factor and replacement strategy to establish a parameter optimization algorithm, so as to obtain clustering algorithm eps and MinPts parameters; Step S5: personalized lecture recommendation, making personalized lecture recommendations to students based on the final clustering results; In step S3, feature selection establishment specifically includes the following steps: Step S31: Generate a fuzzy label set; the formula is as follows: ; ; In the formula, Represents the fuzzy membership vector of the i-th label of sample w; Represents the k nearest labeled samples of sample w; Represents the fuzzy similarity relationship between sample w and sample z; Represents the fuzzy membership vector of the i-th label; Represents a collection of unlabeled sample data; represents the set of labeled sample data; s represents the different categories of the labeled sample set in terms of decision features; Represents the set of fuzzy membership vectors obtained by fuzzy partitioning of each sample object; Step S32: Initialize the feature subset and set it to an empty set: fs={}; Step S33: Calculate the fuzzy coverage value under the conditional feature; for each conditional feature , calculate the fuzzy coverage under this conditional feature; the formula is as follows: ; ; In the formula, Represents conditional features In the sample and The fuzzy membership vector between ; Represents the radius parameter that controls the granularity of the fuzzy information; Represents the fuzzy covering set, which is the i-th instance of the fuzzy concept and contains all sample objects in the conditional feature The fuzzy membership vector under ; represents a set of conditional features; Representation sample In conditional features The value of Representation sample In conditional features The value of represents the fuzzy membership vector of the t-th sample; Step S34: Calculate the fuzzy positive domain of the fuzzy concept; the formula is as follows: ; In the formula, represents the fuzzy positive domain; represents the fuzzy membership vector of the jth label; ∪ represents the operation of finding the union; Step S35: All fuzzy covers form a set; the formula is as follows: ; Where V represents all fuzzy cover sets; n represents the number of conditional features; Step S36: Select the conditional feature with the highest significance; the formula is as follows: ; In the formula, Representing feature subsets Relative to a fuzzy membership function not included External salience; Represents the fuzzy region of the fuzzy concept corresponding to the fuzzy membership function; Step S37: adding the selected conditional features to the feature subset, and updating the feature subset fuzzy positive domain coverage and the feature subset; Step S38: feature result output; if the fuzzy positive domain of the feature subset is the same as the coverage of all fuzzy positive domains, the iteration is terminated and the best feature result is obtained, otherwise, the conditional feature with the highest significance is continued to be selected; In step S4, clustering specifically includes the following steps: Step S41: performing a DBSCAN clustering operation on the real-time lecture recommendation data; Step S42: Optimizing clustering parameters, including the following steps: Step S421: Initialize parameters; population size N, producer ratio P N , the proportion of perceivers S N ; Maximum number of iterations t max ; Search lower limit lb and upper limit ub; Warning value R 2 ;Safety threshold ST; Step S422: Initialize the population; including the following steps: Step S4221: Generate N chaotic sequence values ​​and initialize the random value z 0 ; The formula used is as follows: ; In the formula, represents the i-th chaotic sequence value; represents the i+1th chaotic sequence value; Step S4222: Chaotic sequence value conversion search individual; the formula is as follows: ; In the formula, represents the position of the i-th individual; Step S423: Population division: Calculate the fitness value f of individuals in the population i ; The silhouette coefficient of the clustering result after DBSCAN clustering of the real-time recommendation data based on the individual position is used as the individual fitness value; the individuals are sorted from best to worst according to the fitness value, and producers and scavengers are divided; the individual with the best fitness f is found b and its position X b , and the individual f with the worst fitness w and its position X w ; Step S424: Obtain the mutation factor; the formula used is as follows: ; In the formula, represents the mutation factor of the T distribution after the change, which is used to adjust the degree of mutation; t represents the number of iterations; m represents the proportional factor, which is a constant; t c Indicates the critical point in the iteration process; Step S425: Update the producer position; the formula used is as follows: ; Wherein, represents the position of the i-th individual in the (t + 1)-th generation population; represents the position of the i-th individual in the t-th generation population; α, r 1 , r 2 and r 3 represent randomness parameters within the range of [0, 1]; represents the position of a random individual in the population; is a smoothing term; u represents a randomness constant within the range of [6, 10]; R 2 <ST indicates that there is no enemy nearby and it is in a safe position; R 2 ≥ST indicates that there is an enemy nearby and it is necessary to change to another area; Step S426: Update the scavenger position; the formula used is as follows: ; In the formula, A represents the position of the individual with the best fitness value in the population in the t+1th iteration; + express Dimension pseudo-inverse matrix, elements are randomly assigned 1 or -1; L represents a vector whose all elements are 1; Step S427: Update the perceiver position; randomly select 10% of the individuals in the population as perceivers and update their positions; the formula used is as follows: ; In the formula, represents the position of the individual with the best fitness in the population at the tth iteration; represents the position of the individual with the worst fitness in the population at the tth iteration; represents a standard normally distributed random number with mean 0 and variance 1; K represents a uniformly distributed random number in the interval [−1,1]; It is the smallest constant that avoids the denominator being zero; Step S428: Replacement strategy: select 5% of the individuals with the worst fitness to eliminate, and generate new individuals to replace the eliminated individuals; the formula used is as follows: ; Step S429: Search judgment. A fitness threshold is set in advance. When there is an individual fitness value higher than the fitness threshold, the hyperparameter search is completed, and the optimal individual position, that is, the clustering algorithm eps and MinPts parameters, are obtained to obtain the final clustering result; if the maximum number of iterations is reached, the iteration is terminated and the optimal individual position is obtained, otherwise the iterative search continues to update the position.

2. The method for recommending student lectures based on machine learning according to claim 1, Features: In step S2, data preprocessing performs data cleaning, data conversion and standardization on the collected data; the data cleaning is to process missing values, outliers and duplicate values; the data conversion is to convert the data into vector form; the standardization is to standardize the data based on the maximum and minimum normalization method.

3. The method for recommending student lectures based on machine learning according to claim 1, Features: In step S1, the data collection is to collect historical lecture recommendation data and real-time lecture recommendation data; the historical lecture recommendation data and real-time lecture recommendation data both include student personal information data, lecture information data and student preference data; the student personal information data includes student age, gender, school, grade and major; the lecture information data includes the topic of the lecture, the category of the lecture and the lecturer of the lecture; the student preference data includes the subject area of ​​interest, the favorite lecture format and the preferred lecturer style; the historical lecture recommendation data also includes lecture feedback satisfaction; the lecture feedback satisfaction is used as a data label; the historical lecture recommendation data is used as labeled data; and the real-time lecture recommendation data is used as unlabeled data.

4. The method for recommending student lectures based on machine learning according to claim 1, Features: In step S5, the personalized lecture recommendation is to make personalized lecture recommendations to students based on the final clustering results, and the recommendation scheme represented by the data points in the cluster with a high silhouette coefficient is preferentially selected.

Citation Information

Patent Citations

  • Unsupervised feature selection method and system based on soft label regression

    CN111931562A

  • Method and device for predicting temperature of lithium battery of electric vehicle

    CN116804706A