0% found this document useful (0 votes)
103 views3 pages

Week 6: Big Data Computing Assignment

This document is a summary of an online NPTEL course assessment for Big Data Computing - Unit 8 Week 6. It provides 8 multiple choice questions related to machine learning algorithms and evaluations. The assessment is due on October 6, 2021 and allows multiple submissions before the due date, with the final submission used for grading.

Uploaded by

VarshaMega
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views3 pages

Week 6: Big Data Computing Assignment

This document is a summary of an online NPTEL course assessment for Big Data Computing - Unit 8 Week 6. It provides 8 multiple choice questions related to machine learning algorithms and evaluations. The assessment is due on October 6, 2021 and allows multiple submissions before the due date, with the final submission used for grading.

Uploaded by

VarshaMega
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

9/27/21, 9:32 PM Big Data Computing - - Unit 8 - Week-6

Assessment submitted.

([Link]      

([Link]
X

remeshbabu@[Link] 

NPTEL ([Link]
»
Big Data Computing (course)

Course
Thank you for taking the Week - 6
outline : Assignment-6.
How does an
NPTEL online
course work?
Week - 6 : Assignment-6
Week-0 Your last recorded submission was on 2021-09-27, 21:32 Due date: 2021-10-06, 23:59 IST.
IST
Week-1
1) Which of the following is required by K-means clustering ? 1 point

Week-2
Defined distance metric

Number of clusters
Week-3

Initial guess as to cluster centroids
Week-4
All of the mentioned

2) Identify the correct statement in context of Regressive model of Machine Learning. 1 point
Week-5

Regressive model predicts a numeric value instead of category.
Week-6
Regressive model organizes similar item in your dataset into groups.

Big Data
Regressive model comes up with a set of rules to capture associations between items or
Machine events.
Learning (Part-
None of the Mentioned
I) (unit?
unit=59&lesson=60) 3) Which of the following tasks can be best solved using Clustering ? 1 point

Big Data
Predicting the amount of rainfall based on various cues
Machine
Learning (Part-

Training a robot to solve a maze
II) (unit?
Detecting fraudulent credit card transactions
unit=59&lesson=61)

All of the mentioned
Machine
4) Identify the correct method for choosing the value of ‘k’ in k-means algorithm ? 1 point
Learning
Algorithm K-

Dimensionality reduction
means using
Map Reduce
Elbow method
for Big Data
Both Dimensionality reduction and Elbow method
Analytics

Data partitioning

[Link] 1/3
9/27/21, 9:32 PM Big Data Computing - - Unit 8 - Week-6

(unit? 5) Identify the correct statement(s) in context of overfitting in decision trees:


1 point
Assessment submitted.
unit=59&lesson=62)

X Statement I: The idea of Pre-pruning is to stop tree induction before a fully grown tree is built,
Parallel K-
means using that perfectly fits the training data.

Map Reduce

on Big Data Statement II: The idea of Post-pruning is to grow a tree to its maximum size and then remove
Cluster the nodes using a top-bottom approach.
Analysis (unit?
unit=59&lesson=63)
Only Statement I is true
Week-6:
Only Statement II is true
Lecture
Both Statements are true
material (unit?

Both Statements are false
unit=59&lesson=64)

Quiz: Week -
6) Which of the following options is/are true for K-fold cross-validation ?
1 point
6:

Assignment-6 1. Increase in K will result in higher time required to cross validate the result.

(assessment? 2. Higher values of K will result in higher confidence on the cross-validation result as
name=97) compared to lower value of K.

3. If K=N, then it is called Leave one out cross validation, where N is the number of
Text Transcripts observations.

Books
1 and 2

2 and 3
 

1 and 3

1, 2 and 3

7) Imagine you are working on a project which is a binary classification problem. You 1 point
trained a model on training dataset and get the below confusion matrix on validation dataset.

Based on the above confusion matrix, choose which option(s) below will give you correct
predictions ?

1. Accuracy is ~0.91

2. Misclassification rate is ~ 0.91

3. False positive rate is ~0.95

4. True positive rate is ~0.95


1 and 3

2 and 4

2 and 3

1 and 4

[Link] 2/3
9/27/21, 9:32 PM Big Data Computing - - Unit 8 - Week-6

8) Identify the correct statement(s) in context of machine learning approaches:


1 point
Assessment submitted.

X Statement I: In supervised approaches, the target that the model is predicting is unknown or
unavailable. This means that you have unlabeled data.

Statement II: In unsupervised approaches the target, which is what the model is predicting, is
provided. This is referred to as having labeled data because the target is labeled for every
sample that you have in your data set.


Only Statement I is true

Only Statement II is true

Both Statements are false

Both Statements are true

You may submit any number of times before the due date. The final submission will be
considered for grading.
Submit Answers

[Link] 3/3

Common questions

Powered by AI

Varying the parameter 'k' in K-fold cross-validation affects the trade-off between bias and variance in model evaluation. An increase in 'k' results in fewer samples per fold and thus higher variance but lower bias, leading to a more reliable estimate of performance metrics. However, it also increases computational cost as more folds mean more model training iterations. For instance, K = N, known as leave-one-out cross-validation, offers the least bias but maximum computational load .

Pre-pruning and post-pruning are two techniques used to prevent overfitting in decision trees. Pre-pruning involves stopping the growth of the decision tree early, before it becomes too complex and potentially overfits to the training data. This might be done by setting a threshold for node splits or limiting tree depth. Post-pruning, on the other hand, involves first allowing the tree to grow fully and then trimming it back by removing validations that do not contribute significantly to improving predictions, typically assessed using a separate validation dataset .

Training a robot to solve a maze entails sequential decision-making and understanding environmental dynamics, often utilizing reinforcement learning or pathfinding algorithms. These tasks focus on optimizing an agent's actions in a complex environment rather than discovering inherent structure or pattern-based categorization like clustering algorithms such as K-means, which autonomously group data points based on shared attributes without predicated decision paths .

Unsupervised machine learning methods differ from supervised methods primarily in terms of data labeling and outcomes. Unsupervised learning does not require labeled datasets, instead discovering patterns, correlations, and structure within the input data on its own, resulting in outcomes like grouping or clustering. Conversely, supervised learning builds models predicting outcomes based on input features with corresponding labeled outputs, aiming for classification or regression .

Using a defined distance metric in K-means clustering is necessary to quantify the similarity between data points and cluster centroids, fundamentally guiding the allocation of data points to the nearest cluster during iteration. The choice of distance metric impacts clustering outcomes by influencing the shape and extent of clusters; for instance, Euclidean distance assumes isotropic clusters, while other metrics like Manhattan may favor elongated distributions. Thus, selecting an appropriate metric is crucial for meaningful clustering results .

The elbow method involves plotting the variance explained as a function of the number of clusters and choosing the point where adding more clusters yields diminishing returns, resembling an 'elbow.' This method's implications are that it balances between oversimplification (too few clusters) and overfitting (too many clusters). However, interpreting the elbow can be subjective, and the underlying data distribution can affect the clarity and meaningfulness of the elbow, potentially requiring additional domain knowledge for optimal cluster determination .

The K-means algorithm benefits from MapReduce when applied to big data analytics by efficiently handling large-scale data processing. MapReduce allows the K-means algorithm to distribute tasks across multiple nodes, improving computation speed, scalability, and resource management. This distributed approach is particularly advantageous in processing massive datasets where traditional methods may fail due to memory constraints or prolonged execution times .

When determining the initial guess for cluster centroids in K-means clustering, it is important to consider the distribution and nature of the data, as improper initialization can lead to poor clustering results or increased computation time due to recomputation. Some common approaches include random initialization, the k-means++ method that aims to spread out the initially chosen centroids, and multiple restarts to help escape local minima .

Leave-one-out cross-validation (LOOCV) involves using all data points except one for training, repeated N times (for N data points), making it computationally expensive but offering unbiased validation. It provides robust validation through maximal use of data but at the cost of increased computation. K-fold cross-validation, with larger 'k' values approaching N, approximates LOOCV while balancing computational load by reducing the number of model training rounds, offering a pragmatic trade-off between efficiency and validation robustness .

Regression models focus on predicting continuous numeric values rather than discrete categories, making them significant in applications demanding precise value estimations such as economic forecasting or sensors' data analysis. This numeric prediction capability guides machine learning applications towards tasks requiring modeling complex relationships and trends in quantitative terms, optimizing parameters that exceed the binary or multiclass outcomes found in classification models .

You might also like