Question

In: Computer Science

Data Analysis & Visualization subject Question 1. What does "R is a vectorized language" mean? Question...

Data Analysis & Visualization subject

Question 1. What does "R is a vectorized language" mean?

Question 2. What is unexplainable variance?

Question 3. What is confusion matrix?

A) What is model precision in a confusion matrix?
B) What is model recall in a confusion matrix?

C) Consider the following confusion matrix of daily movements of a stock market.

ACTUAL

Down

Up

PREDICTED

Down

30

30

Up

70

110

i) Compute the precision of the model.
ii) Compute the recall of the model.
iii) What percentage of daily movements have been correctly predicted by the model?

Solutions

Expert Solution

What does "R is a vectorized language" mean?

It means that each mathematical function and operator works on a set of data rather than a single scalar value as traditional computer language do.

Example: vec = 1:9

What is unexplainable variance?

Unexplained variation is the difference between each point and that line.

Example:

here y is orignal value on line and y predicted is the point which is predicted

What is confusion matrix?

definition: A confusion matrix is a table that is often used to describe the performance of a classification model (or “classifier”) on a set of test data for which the true values are known.

A) What is model precision in a confusion matrix?

precision(p) =

B) What is model recall in a confusion matrix?

Recall(r) =

c) i) Compute the precision of the model.

precision(p) =

= 0.3 ans

ii)  Compute the recall of the model.

recall(r) =

= 0.5

iii) What percentage of daily movements have been correctly predicted by the model?

Accuracy =

= = 0.58

precentage = 0.58 * 100 = 58%

/* PLEASE UPVOTE */


Related Solutions

Data Analysis & Visualization Topic R vector and save the r code in a text file...
Data Analysis & Visualization Topic R vector and save the r code in a text file Problem 1. Create two vectors named v and w with the following contents:      v : 21,10,32,2,-3,4,5,6,7,4,-22      w : -18,72,11,-9,10,2,34,-5,18,9,2 A) Print the length of the vectors B) Print all elements of the vectors C) Print elements at indices 3 through 7. D) Print the sum of the elements in each vector. E) Find the mean of each vector. (Use R's mean() function)...
Research and discuss the topics of data analysis and data visualization as it relates to the...
Research and discuss the topics of data analysis and data visualization as it relates to the accounting profession. How do they impact and enhance financial statement analysis? Research and discuss the topic of Sustainability and Corporate Social Responsibility. How can this reported information affect or enhance financial statement analysis. Should this type of reporting be required? Why or why not?
what does it mean for the findings of a statistical analysis of data to be statistically...
what does it mean for the findings of a statistical analysis of data to be statistically significant
What five graphical data characteristics does data visualization use to highlight and contrast data findings and...
What five graphical data characteristics does data visualization use to highlight and contrast data findings and convey a story?
What role does editorial thinking play in data visualization? Why is it important or not important...
What role does editorial thinking play in data visualization? Why is it important or not important in your opinion?
What does it mean to say that a language L is decidable?
What does it mean to say that a language L is decidable?
What does critical period of language acquisition mean
What does critical period of language acquisition mean
if language is defined as being open what does it mean
if language is defined as being open what does it mean
1. What does the word “marginal” mean? 2. What does the phrase “marginal analysis” mean? 3....
1. What does the word “marginal” mean? 2. What does the phrase “marginal analysis” mean? 3. What does marginal revenue mean? 4. What does marginal cost mean? 5. What does marginal profit mean? How are marginal revenue and marginal cost related to marginal profit? 6. Recall that profit is like a hill; it goes up and then it goes down. Our goal as a firm is to choose the value of Q that gets us to the top of the...
Respond to the following discussion question for this module. What does it mean for data to...
Respond to the following discussion question for this module. What does it mean for data to be right skewed? Left skewed? Symmetric? Explain each type of distribution and give an example of data that would be right skewed, left skewed, or symmetric. What does it mean for data to be normal? Explain and give an example of a data set that would be normal. Be sure to explain in such as way so that someone who knows nothing about statistics...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT