U3F1ZWV6ZTUwMjQyMDg4NzA2MDg4X0ZyZWUzMTY5NzA1NDAzMjU3Mg==

java programming build a recommendation system week 2 quiz answer

 week 2:    

This is java programming build a recommendation system week 2 quiz answers. You will not need any other answers to solve this java programming questions.

First, You need to know about this java programming course that make you good in learning how to build a recommendation system.

introduction...

Ever wonder how Netflix decides what movies to recommend for you? Or how Amazon recommends books? We can get a feel for how it works by building a simplified recommender of our own!


In this capstone, you will show off your problem solving and Java programming skills by creating recommender systems. You will work with data for movies, including ratings, but the principles involved can easily be adapted to books, restaurants, and more. You will write a program to answer questions about the data, including which items should be recommended to a user based on their ratings of several movies. Given input files on users ratings and movie titles, You will be able to make filtering to the movies or any data to make perfect recommender system, not movies only you can do music or literally any data...
You have many recommendations languages to help to code with it but java programing is the most used to do this, it has many algorithm theories making this easer. build a systems for recommendation is very known with java programming.

java programing build a recommendation system graded quiz answers..

1.In the SecondRatings class, the name of the private variable to store the ArrayList of type Movie is named myMovies. For the constructor in this class that has two String parameters named moviefile and ratingsfile, which one of the following shows how one might call loadMovies, which is a method in the FirstRatings class?

the answer is here:

FirstRatings fr = new FirstRatings();

myMovies = fr.loadMovies("data/" + moviefile);


Question 2

  2.In the printAverageRatings method in the MovieRunnerAverage class, which one of the following would be the way to print the number of movies read in and the number of raters read in?

the answer is here:

// assume moviefile and ratingsfile have been defined
SecondRatings runner = new SecondRatings(moviefile,ratingsfile);
System.out.println("read data for " + runner.getRaterSize() + " raters");
System.out.println("read data for " + runner.getMovieSize() + " movies");

Question 3
  3.Consider the following movie file (only the first three fields are shown for each movie).
id,title,year,country,genre,director,minutes,poster 0477348,"No Country for Old Men",2007,... 0416960,"The Lizard",2004,... 1646980,"The Double",2011,... 2042568,"Inside Llewyn Davis",2013,... 0756648,"The Fox & the Child",2007,... 1790864,"The Maze Runner",2014,... 0061512,"Cool Hand Luke",1967,...
Consider the following ratings file:
3,1790864,7,1448832437 29,1790864,9,1411064109 44,2042568,8,1412200503 51,0416960,7,1362891496 51,2042568,6,1387605483 65,1790864,7,1447728928 88,0477348,8,1431897274 193,0061512,10,1438363286 193,0477348,10,1441399258 249,2042568,7,1402519352 361,0477348,9,1370396355 435,0477348,9,1412881981 688,0477348,7,1413702368

What is the average rating of the movie "No Country for Old Men"?

the answer is here:

8.6

Question 4
4.Consider the following movie file (only the first three fields are shown for each movie).
id,title,year,country,genre,director,minutes,poster 0477348,"No Country for Old Men",2007,... 0416960,"The Lizard",2004,... 1646980,"The Double",2011,... 2042568,"Inside Llewyn Davis",2013,... 0756648,"The Fox & the Child",2007,... 1790864,"The Maze Runner",2014,... 0061512,"Cool Hand Luke",1967,...
Consider the following ratings file:
3,1790864,7,1448832437 29,1790864,9,1411064109 44,2042568,8,1412200503 51,0416960,7,1362891496 51,2042568,6,1387605483 65,1790864,7,1447728928 88,0477348,8,1431897274 193,0061512,10,1438363286 193,0477348,10,1441399258 249,2042568,7,1402519352 361,0477348,9,1370396355 435,0477348,9,1412881981 688,0477348,7,1413702368 931,0061512,8,1368120324
What is the average rating of the movie "Inside Llewyn Davis"?

the answer is here:

  7

Question 5

5.Using the files ratedmoviesfull.csv and ratings.csv, what is the rating of the movie “The Maze Runner”?

(Give your answer to the ten thousandths place, or four decimal places.)

the answer is here:

7.1900

Question 6

6.Using the files ratedmoviesfull.csv and ratings.csv, what is the rating of the movie “Moneyball”?

(Give your answer to the ten thousandths place, or four decimal places.)

the answer is here:

      8.3800

Question 7

7.Using the files ratedmoviesfull.csv and ratings.csv, what is the rating of the movie “Vacation”?

(Give your answer to the ten thousandths place, or four decimal places.)

the answer is here:

6.8000

Question 8

8.Using the files ratedmoviesfull.csv and ratings.csv, how many movies have 50 or more ratings?

the answer is here:

7

Question 9

9.Using the files ratedmoviesfull.csv and ratings.csv, of those movies that have at least 20 ratings, what is the name of the movie that has the lowest rating?

the answer is here:

The Purge

Question 10

10.Using the files ratedmoviesfull.csv and ratings.csv, of those movies that have at least 12 ratings, what is the name of the movie that has the lowest rating?

the answer is here:

Spring Breakers




cited or generate and engine building collaborative machine, using software programming techniques.
this course show you skills you need to solve any problem in programing language with some algorithms, by example doing a recommendation system for music, movies any way. and with this course you will also be able to:

1. Read in and parse data into lists and maps. 2. Calculate average ratings. 3. Calculate how similar a given rater is to another user based on ratings. 4. Recommend movies to a given user based on ratings. 5. Display recommended movies for a given user on a webpage.

some task you will learn to solve anther time graph needed to wright with coding. anther courses help you explore high level tools to make development and help any web site developed by adding new features. and computer science is very enjoyable capturing various information, it's like university to you help you practice getting natural job. you can look or search about java programing, and you can choose to start today or not developing android, but you have to make correct decision and discover projects (written specialization, designed content), end.

تعديل المشاركة
author-img

Steven Hany

hey I'm Steven, I studied Programming Foundations with JavaScript, HTML and CSS, Java Programming: Solving Problems with Software, Java Programming: Arrays, Lists, and Structured Data and Java Programming: Principles of Software Design, Java Programming: Build a Recommendation System ... And here is some answers
Comments
6 comments
Post a Comment
  1. can you please post week 3 as well? Im having a hard time with question 4,5,and 8

    ReplyDelete

Post a Comment

Leave a message

NameEmailMessage