Q1: Write a program to preprocess a text document by tokenizing it, removing stop words, and stemming the remaining words. View Python Solution
Q2: Implement retrieval of documents using an inverted file (inverted index). Build postings from a collection of documents and rank documents matching a user query. View Python Solution
Q3: Construct a simple Bayesian network using medical features and demonstrate heart-disease classification. The answer uses a small example dataset and Naive Bayes conditional probabilities. This educational example is not a medical diagnostic tool. View Python Solution
Q4: Implement e-mail spam filtering using a text classification algorithm and an appropriate labeled dataset. Report precision, recall, F1-score, and a confusion matrix. View Python Solution Spam Ham Csv
Q5: Implement an agglomerative hierarchical clustering algorithm using an appropriate dataset. Visualize the dendrogram and report cluster assignments. View Python Solution Mall customers CSV
Q6: Implement the PageRank algorithm using Python or Beautiful Soup. Demonstrate the ranking on a directed web graph. View Python Solution
Q7: Build a web crawler to collect product information and links from an e-commerce website. Respect the website's terms, robots.txt, rate limits, and access controls; demonstrate with a site you own or have permission to crawl. View Python Solution