Survey on the Current Situation of College English Teaching in China’s Universities and the Direction of College English Teaching Reform and Development
Table 7
Algorithm 1.
Algorithm 1. Learning preference and aversion features
Input: Graph A(Q,E,M)
Dimensionality d = 200
Number of negative samples Z = 5
Output: Students’ preference features φ1∈R|Q1|d
Students’ dislike features in φ2∈R|Q1|d
1:Initialization in φ1∈R|Q1|d, Q1∈student node
φ2∈R|Q1|d in initialization, Q1∈student node
Initialization in φ'∈R|Q1|d, Q2∈English writing literature node
where:Q1∪Q2 = Q
2:Extract the information of network edges E1∪E2 = E
Where: the weight of edge E1 is greater than 1/2 of the maximum weight
The weight of edge E2 is less than 1/2 of the maximum weight
3:According to the degree of the network English writing literature nodes, the negative sampling table of English writing literature is generated