Build up a collaborative filtering-based recommender system to recommend hotels to users. The following table includes...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Build up a collaborative filtering-based recommender system to recommend hotels to users. The following table includes the ratings from 4 users to 3 hotels. Each rating is an integer from 1 to 5. "?" means that the user has not rated the hotel. Rating User 1 User 2 User 3 User 4 Hotel 1 2 5 ? 2 Use gradient descent algorithm for the collaborative filtering model. Some settings are as follows. The learning rate is a = 0.0003. The regularization parameter is =0.01. The dimension for feature/parameter vectors is K = 2. The initial values of the feature vector for hotels are x = parameter vector for users are T Hotel 2 3 ? 3 4 = [0.13 0.191 0.83 0.32 0.23 0.04 0.27] L0.95 Hotel 3 ? 1 2 1 [0.64 0.14 0.181 L0.23 0.75 0.32] and the Please answer the following questions: c) Calculate the values of x 2) (i.e., the first element in the feature vector for Hotel 2) and () (i.e., the first element in the parameter vector for User 1) after the first iteration. [15 marks] d) If we obtain x() [1.1983 2.3214] and () what is the rating of User 3 on Hotel 1? [5 marks] = = [1.8742 1.1234] after training, Build up a collaborative filtering-based recommender system to recommend hotels to users. The following table includes the ratings from 4 users to 3 hotels. Each rating is an integer from 1 to 5. "?" means that the user has not rated the hotel. Rating User 1 User 2 User 3 User 4 Hotel 1 2 5 ? 2 Use gradient descent algorithm for the collaborative filtering model. Some settings are as follows. The learning rate is a = 0.0003. The regularization parameter is =0.01. The dimension for feature/parameter vectors is K = 2. The initial values of the feature vector for hotels are x = parameter vector for users are T Hotel 2 3 ? 3 4 = [0.13 0.191 0.83 0.32 0.23 0.04 0.27] L0.95 Hotel 3 ? 1 2 1 [0.64 0.14 0.181 L0.23 0.75 0.32] and the Please answer the following questions: c) Calculate the values of x 2) (i.e., the first element in the feature vector for Hotel 2) and () (i.e., the first element in the parameter vector for User 1) after the first iteration. [15 marks] d) If we obtain x() [1.1983 2.3214] and () what is the rating of User 3 on Hotel 1? [5 marks] = = [1.8742 1.1234] after training,
Expert Answer:
Related Book For
Linear Algebra And Its Applications
ISBN: 9781292351216
6th Global Edition
Authors: David Lay, Steven Lay, Judi McDonald
Posted Date:
Students also viewed these programming questions
-
Design and implement a chat server that can handle multiple clients simultaneously. Clients should be able to send messages to the server and receive updates when other clients send messages.
-
s1 educated (SSE) student for every three public school educated (PSE) students. Reasoning that students are not very dissimilar from threads, he suggests the following entry and exit routines be...
-
Sung Corporation, a clothing retailer, engaged in the transactions listed in the first column of the table below. Opposite each transaction is a ratio and space to mark the effect of each transaction...
-
Public companies are required to publish annual financial statements. Suggest the major benefits of companies making financial statement information available to employees. As an employee, discuss...
-
Explain the strategy used by your favourite retailer.
-
If among \(n\) objects \(k\) are alike and the others are all distinct, the number of permutations of these \(n\) objects taken all together is \(n ! / k !\). (a) How many permutations are there of...
-
Pool Company purchased 90% of the outstanding common stock of Spruce Company on December 31, 2011, for cash. At that time the balance sheet of Spruce Company was as follows: Current...
-
Crown Brewing issued new shares in 2021 but some investors had not paid their capital\ contribution by December 31st, 2021. Hence, Crown Brewing recognizes a contributed capital\ receivable. No other...
-
A business is evaluating the purchase of a new machine to use in its manufacturing process. The new machine would cost $60,000 and have a useful life of 6 years. At the end of the machine's life, it...
-
How much will $10,000 amount to after 5 years if interest is 10 percent per year compounded continuously?
-
Using real-word examples, discuss the Phillips curve in terms of the trade-off between inflation and unemployment.
-
Calculate using the interest formula the factor (P|F 11.5%,37). Compare that to the result using Excels PV function.
-
Maintenance on a test track simulator used to exercise vehicles 24/7 for engineering reliability analyses is expected to require $14,000 the first year increasing by 10 percent each year thereafter...
-
You decide to open a retirement account at your local bank that pays 8 percent/year/month (8 percent per year compounded monthly). For the next 20 years, you will deposit $400 per month into the...
-
Set of multiples of 4 forms an ideal in Z, the ring of integers under usual addition and multiplication. This ideal is, a prime ideal but not a maximal ideal. a maximal ideal but not a prime ideal...
-
Which of the companies has the lowest accounts receivable turnover in the year 20X2? a. Company A. b. Company B. c. Company C. d. CompanyD. 20X1 20X2 Credit Sales Average Receivables Balance $1.0...
-
Mark each statement True or False (T/F). Justify each answer. Here A is an m x n matrix. (T/F) The dimension of Col A is the number of pivot columns of A.
-
Consider each matrix as the augmented matrix of a linear system. State in words the next two elementary row operations that should be performed in the process of solving the system. 1-6 4 2 -7 0 0...
-
Let a and b represent real numbers. Describe the possible solution sets of the (linear) equation ax = b.
-
Figure 4.11 shows the \(v_{x}(t)\) curves for a collision between two identical carts moving not on a low-friction track but rather on a rough surface, so that friction affects their motion. Are the...
-
(a) Classify and give examples of the kinds of processes that can change (i) the number of loaves of bread in a bakery, (ii) the number of Lego pieces inside a house, and (iii) the number of coins in...
-
Cite at least two possible choices of system in each of the following situations. For each choice, make a sketch showing the system boundary and state which objects (excluding air) are inside the...
Study smarter with the SolutionInn App