[solved] – Question 8728
Write a program that uses while loop that prompts the user to input two integers x, and y. Then output all odd numbers between x and y.
Expert Answer
[solved] – Question 873
Does placing the code
boolean myVar; if (myVar == false) {int x =2;}
within a method cause a compilation error?
Expert Answer
[solved] – Question 87305
Assume there is a variable, h already associated with a positive integer value. Write the code necessary to count the number of perfect squares whose value is less than h, starting with 1. (A perfect square is an integer like 9, 16, 25, 36 that is equal to the square of another integer (in this case 3*3, 4*4, 5*5, 6*6 respectively).) Assign the sum you compute to a variable q For example, if h is 19, you would assign 4 to q because there are perfect squares (starting with 1) that are less than h are: 1, 4, 9, 16.
Expert Answer
[solved] – Question 87307
NOTE:you cannot use external JS libraries like CSV2JSON. You can use built in libraries like lodash, fs, streams, etc.
Convert the CSVs that have the data you need http://files.grouplens.org/datasets/movielens/ ml-latest-small.zip, not ml-latest.zip (files needed: ratings.csv, movies.csv) Convert files into JSON. Your program will execute without command line input. It should convert files that exist in the same directory.
Be mindful that your csv conversion will have to work with very big files (the large dataset)
Create a JSON file containing only the information you need (user id, movie id, movie title, rating)
Make a command line app that given a user id, outputs the best 10 recommendations and their proposed ratings using the K nearest neighbor euclidean distance algorithms.
Note: I (student) have code that I’ve made attempting both of these but both have failed miserably. If you’d like to see those and just correct them let me know and I’ll be happy to post them up (or send them)
Expert Answer
[solved] – Question 87339
Declare a string array of size 5. Prompt the user to enter five strings that are stored in the array. Afterward, prompt the user to enter a character. Write a function that expects the following three parameters: an array, the size of the array, and a char. The function counts the number of occurrences of that chain all of the strings stored in the array and returns it. Call that function from the main and output the returned value.
Expert Answer
[solved] – Question 8741
write a java program that wil prompt the user for a positive integer(num)and then display two triagles with num number of line to represent the following pattern of asterisks.the input num must be validated,and if invalid,the user must be allowed a maximum of 3 tries to enter the correct value
Expert Answer
[solved] – Question 87431
In this HW, you are asked to implement histogram of oriented gradient (HOG) descriptor from scratch as discussed in class. HOG is not just used in interest point descriptors such as SIFT. It is also a widely used feature for object recognition.
For simplicity, we will ignore the step of finding interest points but simply partition the image into cell/patch and compute the HOG in each cell.
You can use Matlab. (Note that the Matlab demo appears to display the gradient with 90o rotation and thus shows something a bit different.) “
p/s: I NEED the source code and picture result of the (file-20170526-6421-1j3azw3.jpg) image. I uploaded my professor’s example images and his resulting picture (gantrycrane.png and hog_result.png) to show you the result I want for the ((file-20170526-6421-1j3azw3.jpg). You can cut half of the picture if it’s too big.
Expert Answer
[solved] – Question 8745
Caffeine absorption.after caffeine is absorbed into the body 13% is eliminated from the body each hour.assume a person drinks an 8 Oz cup of brewed coffee containing 130mg of caffeine,and the caffeine is absorbed immediately into the body.Write a program to compute the following values.the number of hours required until 65mg(one-half the orginal amount remain in the body.the amount of caffeine in the body 24hours after the person drinks the coffee
looking for the code
Expert Answer
[solved] – Question 8746
how to write a C# consloe program that asks for three numbers and prints the average value?
Expert Answer

