Madhavan Mukund



Data Mining and Machine Learning,
Jan-May 2022

Assignment 1: Classification

1 Mar, 2022
Due 12 Mar 22 Mar 25 Mar, 2022



The Task

The "Bank Marketing Data Set" from the UCI Machine Learning Repository is related with direct marketing campaigns (phone calls) of a Portuguese banking institution.

The classification goal is to predict if the client will subscribe a term deposit (variable y). You can find a description of the attributes at the original UCI URL, https://archive.ics.uci.edu/ml/datasets/Bank+Marketing.

The UCI page contains multiple versions of the data, so the version that you need to work with is here:

In this assignment you have to build three classifiers for this data set: a decision tree, a naïve Bayes classifier, and a random forest. Use a suitable evaluation metric to compare the performance of the three classifiers..


Solving the Task

  • You can use any programming language, including Python and R. You can make use of standard packages for analytics and machine learning. Clearly document any external packages used by your code.

  • Submit the following via Moodle, as a Jupyter notebook if you are using Python and as a single archive (zip, tar.gz, …) otherwise:

    • The code you used to solve the assignment.

    • If you have voluminous output to report, save it somewhere on the cloud and provide a link.

    • A short write up describing how your code ran on the data sets: the parameters used, time taken, space required, and anything else of interest. This should include a comparative evaluation of the three classifiers.

  • You may work alone or in groups of two. Each group makes a single submission to Moodle. Use either person's Moodle account to submit. The submission should mention the names of the two partners.

  • There will be a short oral presentation and question/answer session for each submission.