Q:
You have run the association rules algorithm on your dataset, and the two rules {banana, apple} => {grape} and {apple, orange} => {grape} have been found to be relevant. What else must be true?
Choose the right answer:
{banana, apple, grape, orange} must be a frequent itemset
{banana, apple} => {orange} must be a relevant rule
{grape} => {banana, apple} must be a relevant rule
{grape, apple} must be a frequent itemset.
ANs:The answer is A: {grape, apple} must be a frequent itemset
Q:
After studying the behavior of a population, you have identified four specific individual types that are valuable to your study. You would like to find all users who are most similar to each individual type. Which algorithm is most appropriate for this study?
Choose the correct option:
K-means clustering
Linear regression
Association rules
Decision trees
ANS:As we are looking for grouping people together specifically by four different similarities,
it indicates the value of k. Therefore, K-means clustering
(answer A) is the most appropriate algorithm for this study.
Q:
We want to predict the probability of death from heart disease based on three risk factors: age, gender, and blood cholesterol level. What is the most appropriate algorithm for this case?
Choose the correct option:
Logistic Regression
Linear Regression
K-means clustering
Apriori algorithm
ANS:The most appropriate algorithm for this case is A, logistic regression.
Q:
Below are the eight actual values of the target variable in the train file. What is the entropy of the target variable?
[0, 0, 0, 1, 1, 1, 1, 1]
Choose the correct answer.
-(5/8 log(5/8) + 3/8 log(3/8))
5/8 log(5/8) + 3/8 log(3/8)
3/8 log(5/8) + 5/8 log(3/8)
5/8 log(3/8) – 3/8 log(5/8)
ANS: The target variable, in this case, is 1.
The formula for calculating the entropy is:
Putting p=5 and n=8, we get
Entropy = A = -(5/8 log(5/8) + 3/8 log(3/8))
Q:
Which of the following machine learning algorithms can be used for inputting missing values of both categorical and continuous variables?
ANS:
K-means clustering
Linear regression
K-NN (k-nearest neighbor)
Decision trees
The K nearest neighbor algorithm can be used because it can compute the nearest neighbor and if it doesn't have a value, it just computes the nearest neighbor based on all the other features.
When you're dealing with K-means clustering or linear regression, you need to do that in your pre-processing, otherwise, they'll crash. Decision trees also have the same problem, although there is some variance.
Q:
You are given a dataset on cancer detection. You have built a classification model and achieved an accuracy of 96 percent. Why shouldn't you be happy with your model performance? What can you do about it?
ANS: Cancer detection results in imbalanced data. In an imbalanced dataset, accuracy should not be based as a measure of performance. It is important to focus on the remaining four percent, which represents the patients who were wrongly diagnosed. Early diagnosis is crucial when it comes to cancer detection, and can greatly improve a patient's prognosis.
Hence, to evaluate model performance, we should use Sensitivity (True Positive Rate), Specificity (True Negative Rate), F measure to determine the class wise performance of the classifier.
Q:
Auroral Zone Upwelling Release Experiment is the full form of Azure.
a) true
b) false
ANS: a) true
Q:
What are roles in Windows Azure?
a) Web Role
b) Worker Role
c) VM Role
d) All of these
ANS: d) All of these
Q:
Azure Storage plays the same role in Azure that ______ plays in Amazon Web Services.
a) EC2
b) S3
c) EC3
d) All of the mentioned
ANS:Azure Storage plays the same role in Azure that S3 plays in Amazon Web Services.
Q:
How do you register a user control?
a) Add Source, Tag prefix
b) Add Tag prefix, Tag name
c) Add Src, Tagprefix, Tagname
d) All of these
ANS:
c) Add Src, Tagprefix, Tagname
Q:
What is the different type of services offered in the cloud?
a) PaaS
b) IaaS
c) SaaS
d) All of these
ANS: d) All of these
Q:
What are the different cloud deployment models?
a) Private Cloud
b) Public Cloud
c) Hybrid Cloud
d) All the above mentioned
ANS: d) All the above mentioned
Q:
What are roles in Windows Azure?
a) Worker Role
b) Web Role
c) VM Role
d) All of these
ANS:d) All of these
Q:
Runtime polymorphism is achieved by -
a) Friend function
b) Virtual function
c) Function overloading
d) Operator overloading
runtime-polymorphism
ANS: c) Function overloading
Q:
What are the options to manage session state in Windows Azure?
a) SQL Azure
b) Windows Azure Caching
c) Azure Table
d) All of the above
ANS:d) All of the above
Q:
What are the different cloud deployment models?
a) Private Cloud
b) Public Cloud
c) Hybrid Cloud
d) All of the above
ANS:d) All of the above
No comments:
Post a Comment