Q3. [2 pt] (submit to this assignment item) An analyst in a company's sales department collected...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q3. [2 pt] (submit to this assignment item) An analyst in a company's sales department collected data (Customers_class_tr.csv) from sampled customers in the company's customer database and a survey to build a prediction model for the levels of satisfaction of the new customers. For the prediction (classification), the analyst considers k-nearest neighbor methods for classification. Choose the model parameter k from a positive integer number, and make predictions for the new customers in (Customers_class_new.csv) after applying a standardization or normalization. Then, report the chosen k and the result by summarizing in the following table, each of whose element is for the count of the corresponding cases. Submit your R codes too. Predicted Satisfaction Level Very Dissatisfied Somewhat Dissatisfied Neutral Somewhat Satisfied Very Satisfied Actual Satisfaction Level Neutral Very Somewhat Dissatisfied Dissatisfied Somewhat Very Satisfied Satisfied Hint: Use table () function to summarize such counts from a data.frame for the actual and predicted categorical data. Q3. [2 pt] (submit to this assignment item) An analyst in a company's sales department collected data (Customers_class_tr.csv) from sampled customers in the company's customer database and a survey to build a prediction model for the levels of satisfaction of the new customers. For the prediction (classification), the analyst considers k-nearest neighbor methods for classification. Choose the model parameter k from a positive integer number, and make predictions for the new customers in (Customers_class_new.csv) after applying a standardization or normalization. Then, report the chosen k and the result by summarizing in the following table, each of whose element is for the count of the corresponding cases. Submit your R codes too. Predicted Satisfaction Level Very Dissatisfied Somewhat Dissatisfied Neutral Somewhat Satisfied Very Satisfied Actual Satisfaction Level Neutral Very Somewhat Dissatisfied Dissatisfied Somewhat Very Satisfied Satisfied Hint: Use table () function to summarize such counts from a data.frame for the actual and predicted categorical data.
Expert Answer:
Related Book For
Business Statistics For Contemporary Decision Making
ISBN: 978-1118749647
8th edition
Authors: Black Ken
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
obias is a foreman at a factory that manufactures auto parts. When a health a safety inspector visits the plant, Tobias notices the inspector writing down several major labor and safety violations....
-
Larry weighs 300 N at the surface of Earth. What is the weight of Earth in the gravitational field of Larry?
-
Consider testing a pair of simple hypotheses Ho: 0= 0o versus Ha: 0 = 0. Rather than prescribing the significance level and minimizing P(type II error), imagine trying minimize the linear combination...
-
Ethylene glycol at 100,000 \(\mathrm{lb} / \mathrm{hr}\) enters the shell of a 1-6 shell-and-tube heat exchanger at \(250^{\circ} \mathrm{F}\) and is cooled to \(130^{\circ} \mathrm{F}\) with cooling...
-
An electronics engineer is interested in the effect on tube conductivity of five different types of coating for cathode ray tubes in a telecommunications system display device. The following...
-
As a foreign exchange trader at a leading bank in Kenya, you have a customer who would like spot and 30-day forward AS/Yen quotes. Current market rates are: S/KES AS/KES Spot 150.25-34 30-day 30-15...
-
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 30 37 38 39 40 41 42 43 44 45 40 47 48 49 50 51 52 53 54 55 1 In the last 10 years, Victoria has worked for Alberta...
-
ton is $5 per month it is realistic in the present situation to assume that the refrigeration cost is a function of the average number of cartons on hand during the month develop an optimum schedule...
-
How does the framing of decision options, including the presentation of information, the choice architecture, and the framing of risks and rewards, influence decision outcomes and individuals'...
-
Pearl Jam Company, a manufacturer of preserves, jams, and jellies gift baskets. The Company plans to manufacture and sell 2,800 units in the upcoming month. The below table contains the Company's...
-
(a) Explain the following methods of payment that could be used by a multinational corporation (MNC) to settle international transactions: Required: (i) Prepayment. (2 marks) (ii) Letters of credit...
-
DMIC Company was proposed of five real estate projects to build for next year . Their available funds to capital is worth Php 20 Billion. The income and their capitalization per project shown in the...
-
Your manager wants you to help him value the Firm K and its equity and debt. The risk-freerateis 2%whiletheexpected marketreturn is 5%. Firm K's beta is 1.5. Firm's K debt to equity is 1:1. Firm's K...
-
In early 2018 you are hired as the new Controller for ABC, Co. You discover a variety of inventory errors. ABC uses the periodic method and uses a Purchases account to accumulate inventory purchases...
-
Willingness to pay as a measure of a person's value for a particular good measures the maximum a person would be willing to pay requires that payment actually be made depends on the satisfaction that...
-
Determine the probabilities for the following normal distribution problems. a. = 604, = 56.8, x 635 b. = 48, = 12, x < 20 c. = 111, = 33.8, 100 x < 150 d. = 264, = 10.9, 250 < x < 255 e. =...
-
According to a survey by Topaz Enterprises, a travel auditing company, the average error by travel agents is $128. Suppose this figure was obtained from a random sample of 41 travel agents and the...
-
In recent years, the debate over the U.S. economy has been constant. The electorate seems somewhat divided as to whether the economy is in a recovery or not. Suppose a survey was undertaken to...
-
Margin of error = \($5\), standard deviation = \($20\)
-
Margin of error = 18.2 cm, standard deviation = 95.2 cm
-
Margin of error = 0.5 g, standard deviation = 8.7 g
Study smarter with the SolutionInn App