Research Article
A Cross-Domain Collaborative Filtering Algorithm Based on Feature Construction and Locally Weighted Linear Regression
Algorithm 1
The stochastic gradient descent algorithm for LWLR model.
Input: the training sample set , the query sample x, the learning rate a; | Output: ; | Initial , , // is the threshold | do | ; | ; //for every | ; | ; | until | return ; |
|