Blog
Software Case Tools and Application BSSE 6th Final Past Paper 2016 – UOS Main Campus
University of Sargodha main campus BSSE 6th semester Software Case Tools & Application final exam, Spring 2016 (data mining and text mining). Retyped from the original paper, with solved answers below.
Solved answers
Q1 – Short answers
1. Why data mining: to discover hidden, useful patterns, trends and knowledge from large data sets for decision making — e.g. market basket analysis, fraud detection, customer segmentation, prediction.
2. Avoiding overfitting in classification: pre-pruning (stop growing the tree early using thresholds on gain or number of records) and post-pruning (grow the full tree, then remove branches that do not improve accuracy on validation data); also cross-validation and using more training data.
3. OLTP vs OLAP: OLTP (online transaction processing) handles day-to-day transactions — many short insert/update queries on current, detailed, normalised data. OLAP (online analytical processing) supports analysis and decision making — complex read-only queries on historical, summarised, multidimensional data in a data warehouse.
4. Mining methodology as an issue: mining different kinds of knowledge, at multiple levels of abstraction, handling noisy/incomplete data, evaluating which patterns are interesting, and incorporating background knowledge are all challenges in designing effective mining methods.
5. Text mining vs data mining: data mining finds patterns in structured data (databases, tables); text mining extracts patterns and knowledge from unstructured text (documents, e-mails, web pages), requiring NLP and text pre-processing first.
6. Text refining / pre-processing (feature extraction) — converting unstructured text into an intermediate form such as a document-based or concept-based representation (bag of words, term-document matrix).
7. Steps of text mining: collect documents → pre-process (tokenisation, stop-word removal, stemming) → transform into an intermediate form (term-document matrix) → feature selection → apply mining techniques (classification, clustering, association) → evaluate and interpret the results.
8. Swanson’s process: Don Swanson’s literature-based discovery — linking two unconnected bodies of literature through common intermediate concepts (A–B and B–C ⇒ hypothesis A–C), e.g. his discovery of the link between fish oil and Raynaud’s disease.
9. Descriptive vs predictive mining: descriptive mining characterises the general properties of existing data (clustering, association rules, summarisation); predictive mining uses current data to predict unknown or future values (classification, regression, prediction).
10. Link mining: data mining on linked (graph/network) data such as web pages, citations and social networks. Goals: object ranking (e.g. PageRank), link prediction, object classification using links, group/community detection, entity resolution and sub-graph discovery.
Q2
(A) Why preprocess data: real-world data is incomplete (missing values), noisy (errors and outliers) and inconsistent (different codes/names). Poor-quality data gives poor-quality mining results — “garbage in, garbage out”. Preprocessing improves accuracy, completeness, consistency and efficiency of mining.
Major tasks: data cleaning (fill missing values, smooth noise, remove outliers, resolve inconsistencies); data integration (combine multiple sources, handle redundancy); data reduction (dimensionality reduction, numerosity reduction, compression); data transformation and discretization (normalisation, aggregation, concept hierarchies).
(B) Noisy data is random error or variance in a measured variable — e.g. incorrect values due to faulty instruments, data-entry errors or transmission problems. Handling noise: binning (sort values into bins and smooth by bin means, medians or boundaries); regression (fit data to a function); clustering (detect and remove outliers); combined computer and human inspection.
Q3
(A) Sampling means selecting a representative subset of data to reduce volume while keeping its characteristics. Types: simple random sampling without replacement (SRSWOR); simple random sampling with replacement (SRSWR); cluster sampling (choose whole groups/clusters); stratified sampling (divide data into strata and sample from each, useful for skewed data).
(B) Classification — a two-step process:
- Learning (training) step: a classification algorithm builds a model (classifier) from a training set of tuples with known class labels — e.g. decision tree, rules, Bayesian model.
- Classification step: the model’s accuracy is estimated on a separate test set; if acceptable, the model is used to classify new tuples whose class label is unknown.
Q4 – Role of information professionals in text mining
Information professionals (librarians, information scientists, analysts) build and maintain document collections and metadata; select relevant sources; design taxonomies, thesauri and controlled vocabularies that improve pre-processing and categorisation; clean and organise text data; formulate search strategies; evaluate and interpret mining results for users; ensure copyright, privacy and ethical use; and train users in text-mining tools. They bridge the gap between domain experts and technical tools so that useful knowledge is extracted from large text collections.
