Question: NEED HELP WITH THIS QUESTION PROGRAMMING LANGUAGE : JAVA The goal of this Programming Project is to extend Programming Project 1 to find the customer

NEED HELP WITH THIS QUESTION

PROGRAMMING LANGUAGE : JAVA

NEED HELP WITH THIS QUESTION PROGRAMMING LANGUAGE : JAVA The goal of

this Programming Project is to extend Programming Project 1 to find the

The goal of this Programming Project is to extend Programming Project 1 to find the customer from the CSV file who made ratings that are most similar to ratings input from the keyboard. First, do Programming Project 1. Then modify your solution so that it asks the user to input ratings for the first four products before the program reads from the file. The program should then predict whether or not the user will like the final product by outputting the rating made by the most similar customer. Use the formula IAu Acl I Bu Bol +ICu Ccl I Du Dcl to compute the similarity, where Au is the rating for product A made by the user at the keyboard and Ac is the rating for product A made by a customer from the file. A lower total indicates greater similarity. For example, if the user inputs 1 for product A, 1 for product B, 3 for product C, and 2 for product D, then with the values from Programming Project 1, the similarity to the customer in the first row is 11 3l 11 0| 13 5l 12 1 6, while the similarity to the customer in the second row is 11 1 11 1 13 4l 12- 2l J 1. The customer in the second row has the greatest similarity, so the program would output that the prediction for product E is 1, which is the second customer's rating for product E

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!