Applied Machine Learning Assignment
Instructions:
Attempt all questions.
Implement your solutions using the Python programming language.
Use relevant datasets and libraries where appropriate.
Clearly comment your code and include output screenshots if needed.
Part I – Practical Questions
1. Develop a Python model that calculates the sum of the following:
i. Natural numbers
ii. Even numbers
iii. Odd numbers
iv. Whole numbers
2. Text Frequency Analysis
Find the top ten most frequently occurring words in the reference book titled:
Andrea Giussani - Applied Machine Learning with Python (2020, Bocconi University Press)
3. Token Length Analysis
Tokenize the same reference book and identify the top ten longest tokens.
4. Computer Purchase Prediction Model
Develop a machine learning model to predict whether a person will buy a computer or not.
Use data with the following attributes:
Age, Income, Student (Yes/No), Credit_Rating (Fair/Excellent)
5. Loan Classification Model
Build a model that predicts the loan classification/status of a person based on the following
attributes:
Age, Has_Job (Yes/No), Own_House (Yes/No), Credit_Rating (Fair/Excellent)
6. Tennis Play Prediction
Suppose you have a free afternoon and you're deciding whether to play tennis.
Based on training data, build a model to predict the conditions under which you will play
tennis.
7. T-Shirt Size Clustering
Group individuals based on body size and classify them into "Small", "Medium", or "Large"
T-shirt sizes using clustering techniques.
8. Customer Segmentation for Targeted Marketing
Implement a model that segments customers based on their characteristics and behaviors for
targeted marketing.
9. Text Document Clustering
Given a collection of text documents, cluster and organize them based on content similarity.
Data Sources:
You may use any relevant datasets from the following repositories:
Kaggle: https://www.kaggle.com/datasets
UCI Machine Learning Repository:
http://www.ics.uci.edu/~mlearn/MLRepository.html
Submission Requirements:
A cleanly written Jupyter Notebook or Python script for each task.
A brief report (PDF or DOCX) explaining the methodology, code logic, and results.
Clearly labeled outputs, tables, and graphs.