DM Lab Assignment 2
DM Lab Assignment 2
[CLO 2 Apply classification and clustering techniques such as decision trees, rule-based classifiers, K-means to real-
world datasets.]
Question 1
Task Description:
• Train at least 3 classifiers on a dataset and compute the accuracy, precision, recall, and F1-score for
each classifier.
• Visualize the ROC curve for each classifier and compare the AUC values.
• Perform 5-fold cross-validation on the classifiers and record the results.
Question 2
Task Description:
• Dataset: Choose any dataset of your choice (can be from UCI repository or other sources).
• Implement k-NN: Apply k-NN to classify the data using at least two different distance metrics.
• Optimize k: Experiment with different values of k and select the one that yields the best accuracy.
• Visualization: If possible, visualize the decision boundaries for a subset of features.
• Submission: Submit the code, a report analyzing your findings (distance metrics, optimal k, decision
boundaries), and the accuracy results.
Question 3
Question 4
---------------------------------------------