CSC469 Decision Support System and Expert System

Decision Support System and Expert SystemUnit 416 min read

DSS Development Approaches & Methodologies: Life Cycles, Driven Types & UI Design

Unit 4 of Decision Support System and Expert System explores structured vs. unstructured decision-making methodologies, the four DSS development approaches (data-driven, model-driven, knowledge-driven, document-driven), and the DSS development life cycle. It covers UI design factors, project participants, and real-worl

TAKEAWAYS:

  • DSS development follows four driven approaches (data, model, knowledge, document) tailored to decision complexity and data availability.
  • The DSS development life cycle mirrors software engineering but emphasizes iterative prototyping and user feedback.
  • UI design in DSS prioritizes clarity, interactivity, and accessibility to support non-technical decision-makers.
  • Group Decision Support Systems (GDSS) integrate anonymity, parallel processing, and conflict resolution tools for collaborative decisions.
  • Real-world examples like Khalti’s fraud detection (knowledge-driven DSS) and NTC’s network planning (model-driven DSS) demonstrate practical applications.
  • Errors in DSS development stem from poor data quality, misaligned models, or ignored user needs—addressed via rigorous testing and validation.


1. DSS Development Approaches: Four Driven Types

Decision Support Systems (DSS) are classified based on their primary driving force—the core component that enables decision-making. These approaches determine how data, models, knowledge, or documents are prioritized. Below is a comparison table and visual classification:

mindmap
  root((DSS Development Approaches))
    Data-Driven DSS
      "Raw data → Analytics → Insights"
      Example: eSewa transaction logs → Fraud detection
    Model-Driven DSS
      "Mathematical models → Simulations → Optimization"
      Example: NTC’s network traffic forecasting
    Knowledge-Driven DSS
      "Rules/Heuristics → Inference Engine → Recommendations"
      Example: Daraz’s customer behavior analysis
    Document-Driven DSS
      "Unstructured data → NLP → Decision aids"
      Example: NEPSE’s regulatory document analysis

1.1 Data-Driven DSS

  • Definition: Relies on large volumes of structured data (e.g., databases, spreadsheets) to generate insights via statistical analysis, OLAP, or data mining.
  • How it works:
    1. Data Collection: Gather transactional, operational, or historical data (e.g., Khalti’s payment records).
    2. Processing: Clean, aggregate, and analyze data (e.g., SQL queries, Python Pandas).
    3. Visualization: Present trends via dashboards (e.g., Power BI, Tableau).
  • Worked Example: eSewa Fraud Detection
    • Data: 10,000 daily transactions with fields: user_id, amount, time, location.
    • Analysis:
      • Anomaly Detection: Flag transactions where amount > 50,000 NPR AND time < 2 AM.
      • Rule: IF (amount > threshold) AND (time in off-hours) THEN flag as suspicious.
    • Output: Alerts sent to eSewa’s compliance team.
    • Visual:

1.2 Model-Driven DSS

  • Definition: Uses mathematical models (optimization, simulation, forecasting) to solve semi-structured problems.
  • Key Models:
    • Optimization: Linear programming (e.g., Pathao’s route optimization).
    • Simulation: Monte Carlo for risk analysis (e.g., Ncell’s network load testing).
    • Forecasting: Time-series models (e.g., NTC’s demand prediction).
  • Worked Example: NTC’s Fiber Optic Network Planning
    • Problem: Minimize cost while ensuring 99.9% uptime for 50,000 users.
    • Model: Integer Linear Programming (ILP) to select optimal cable routes.
    • Steps:
      1. Define variables: x_ij = 1 if cable runs from node i to j, else 0.
      2. Constraints:
        • Coverage: Σx_ij ≥ 1 for all nodes.
        • Budget: Σ(cost_ij * x_ij) ≤ 50,000,000 NPR.
      3. Solve using Python’s PuLP library.
    • Output: Optimal cable layout reducing costs by 15%.

1.3 Knowledge-Driven DSS

  • Definition: Employs heuristics, rules, or expert knowledge (e.g., IF-THEN rules, fuzzy logic) for unstructured decisions.
  • Components:
    • Knowledge Base: Domain-specific rules (e.g., "If blood pressure > 140, prescribe medication").
    • Inference Engine: Applies rules to new data.
  • Worked Example: Daraz’s Customer Churn Prediction
    • Rules:
      • IF (purchase_frequency < 1/month) AND (cart_abandonment > 50%) THEN classify as "at-risk".
      • IF (at-risk) THEN send discount coupon.
    • Output: 20% reduction in churn for targeted users.

1.4 Document-Driven DSS

  • Definition: Processes unstructured data (PDFs, emails, reports) using NLP/text mining to aid decisions.
  • Tools: Python’s spaCy, NLTK, or commercial tools like IBM Watson.
  • Example: NEPSE’s Regulatory Compliance DSS
    • Input: 100+ PDFs of stock exchange rules.
    • Processing: Extract key phrases (e.g., "dividend payout deadline") and map to deadlines.
    • Output: Automated alerts for listed companies.

2. DSS Development Life Cycle (DLC)

The DLC adapts the Software Development Life Cycle (SDLC) but emphasizes iterative prototyping and user involvement. Key phases:

flowchart LR
  A["Problem Identification"] --> B["Feasibility Study"]
  B --> C["Requirements Analysis"]
  C --> D["Design"]
  D --> E["Prototyping"]
  E --> F["Implementation"]
  F --> G["Testing & Validation"]
  G --> H["Deployment"]
  H --> I["Maintenance & Review"]

2.1 Key Phases Explained

Phase Activities Tools/Techniques
Problem Identification Define the decision problem (e.g., "Reduce Daraz delivery delays"). SWOT analysis, stakeholder interviews.
Feasibility Study Assess technical, economic, and operational feasibility. Cost-benefit analysis, Gantt charts.
Requirements Analysis Gather input from users, experts, and data sources. Use cases, UML diagrams.
Design Choose DSS type (data/model/knowledge-driven) and architecture. ER diagrams, flowcharts.
Prototyping Build a working model for user feedback. Rapid prototyping tools (e.g., Power BI).
Implementation Develop the DSS using programming languages (Python, Java) or tools (Excel, SQL). Version control (Git), Agile methodologies.
Testing Validate accuracy, usability, and performance. Unit testing, A/B testing.
Deployment Roll out to end-users with training. Pilot testing, helpdesk support.
Maintenance Update models/data based on feedback. CI/CD pipelines.

2.2 Worked Example: Pathao’s Driver Assignment DSS

  • Problem: Assign drivers to rides efficiently to minimize wait times.
  • DLC Trace:
    1. Problem ID: High customer complaints about long wait times.
    2. Feasibility: Feasible with real-time GPS data and optimization models.
    3. Requirements: Drivers’ location, ride requests, traffic data.
    4. Design: Model-driven DSS using Hungarian algorithm for assignment.
    5. Prototype: Built a Python script to simulate 1,000 rides.
    6. Testing: Reduced average wait time from 8 to 3 minutes.
    7. Deployment: Integrated with Pathao’s app backend.

3. Sources of Errors in DSS Development

Errors arise from misalignment between technical implementation and user needs. Common sources:

mindmap
  root((Sources of Errors in DSS))
    Data-Related Errors
      "Incomplete data\nInaccurate data\nPoor data integration"
    Model-Related Errors
      "Overfitting\nIncorrect assumptions\nIgnoring constraints"
    Knowledge-Related Errors
      "Ambiguous rules\nOutdated heuristics\nBias in expert input"
    UI/UX Errors
      "Cluttered dashboards\nPoor interactivity\nLack of accessibility"
    Process Errors
      "Skipping prototyping\nIgnoring user feedback\nPoor testing"

3.1 Real-World Error: Kathmandu Traffic Management System

  • Issue: A DSS for traffic light optimization failed because:
    • Data Error: Used 2010 census data instead of real-time GPS feeds.
    • Model Error: Assumed linear traffic flow (ignored accidents/construction).
  • Outcome: Increased congestion by 12% before the bug was fixed.

4. DSS vs. TPS: Key Differences

Feature Decision Support System (DSS) Transaction Processing System (TPS)
Purpose Supports semi-structured/unstructured decisions. Processes routine transactions (e.g., sales, payroll).
Users Managers, executives, analysts. Clerks, operators.
Data Type Internal + external, structured + unstructured. Structured, operational data.
Output Reports, recommendations, "what-if" scenarios. Confirmation of transactions (e.g., receipts).
Example Ncell’s network capacity planning. Khalti’s payment processing.
Technology OLAP, data mining, AI, NLP. Batch processing, databases (Oracle, MySQL).

5. DSS UI Design Process

UI design in DSS must balance functionality and usability for non-technical users. Key factors:

flowchart TD
  A["User Needs Analysis"] --> B["Information Requirements"]
  B --> C["Interaction Design"]
  C --> D["Prototyping"]
  D --> E["Usability Testing"]
  E --> F["Final Design"]

5.1 Critical UI Design Factors

Factor Description Example
Clarity Avoid jargon; use visual aids (charts, graphs). eSewa’s transaction history as a timeline.
Interactivity Allow users to drill down into data (e.g., click on a chart segment). NTC’s network map where clicking a node shows stats.
Accessibility Compatible with screen readers, keyboard navigation. Daraz’s mobile app with high-contrast modes.
Feedback Mechanisms Confirm actions (e.g., "Your order is being processed"). Pathao’s ETA updates during rides.
Customization Let users save preferences (e.g., default views). Khalti’s dashboard customization.

5.2 Worked Example: NEPSE’s Investor Dashboard

  • Problem: Retail investors struggled with complex stock data.
  • Solution:
    • Visual: Replaced tables with interactive candlestick charts.
    • Interaction: Hover to see volume, 52-week high/low.
    • Feedback: Alerts for price > moving average.
  • Result: 30% increase in user engagement.

6. Group Decision Support Systems (GDSS)

GDSS enables collaborative decision-making by integrating:

  • Anonymity: Reduces bias (e.g., voting systems).
  • Parallel Processing: Multiple users input simultaneously.
  • Conflict Resolution Tools: Facilitates consensus (e.g., electronic brainstorming).

6.1 GDSS Components

mindmap
  root((GDSS Components))
    Hardware
      "Projectors\nVoting pads\nNetworked computers"
    Software
      "Groupware (e.g., Microsoft Teams)\nDecision room software"
    Procedures
      "Agenda setting\nFacilitation rules\nConflict resolution"
    People
      "Facilitator\nDecision-makers\nSubject-matter experts"

6.2 Example: Nepal Government’s Policy GDSS

  • Scenario: Drafting a new digital literacy policy.
  • GDSS Tools Used:
    • Idea Generation: Miro for online whiteboarding.
    • Voting: Mentimeter for anonymous prioritization.
    • Consensus Building: Slido for real-time Q&A.
  • Outcome: Policy finalized in 3 days (vs. 3 months via email).

7. DSS Project Participants

Successful DSS projects require collaboration among diverse roles:

Role Responsibilities Example
Sponsor Provides funding and aligns DSS with organizational goals. CEO of a bank approving a loan DSS.
End Users Provides input on requirements and validates outputs. Loan officers testing the DSS prototype.
DSS Developer Designs and builds the system (programmers, analysts). Python developer coding the optimization model.
Domain Expert Contributes subject-matter knowledge (e.g., finance, medicine). Economist advising on NEPSE’s risk models.
Facilitator Manages GDSS sessions (if applicable). IT coordinator running a policy GDSS workshop.
Data Manager Ensures data quality and integration. Database admin cleaning eSewa’s transaction logs.

In the Real World

  1. eSewa’s Fraud Detection (Knowledge-Driven DSS)

    • How it works: Uses rule-based systems to flag suspicious transactions (e.g., rapid high-value payments from new users).
    • Impact: Reduced fraud losses by 40% in 2023.
    • Tech Stack: Python (for rule engine), PostgreSQL (for transaction logs).
  2. Ncell’s Network Optimization (Model-Driven DSS)

    • How it works: Employs simulation models to predict peak usage hours and pre-position servers.
    • Impact: Cut downtime by 25% during festivals (e.g., Dashain).
    • Tool: AnyLogic for traffic simulation.
  3. Pathao’s Driver Assignment (Data + Model-Driven DSS)

    • How it works: Combines real-time GPS data (data-driven) with the Hungarian algorithm (model-driven) to assign drivers.
    • Impact: Reduced driver idle time by 18%.
    • Visual:
  4. NTC’s Fiber Optic Planning (Model-Driven DSS)

    • How it works: Uses integer linear programming to optimize cable routes while minimizing costs.
    • Impact: Saved 15 million NPR in 2022 infrastructure upgrades.
  5. NEPSE’s Regulatory Compliance (Document-Driven DSS)

    • How it works: NLP scans PDFs of stock exchange rules to extract deadlines and auto-generate alerts for companies.
    • Impact: Reduced non-compliance penalties by 30%.

Exam Tip

  1. For short-answer questions (e.g., "Differentiate DSS data and operating data"):

    • Use a 2-column table with clear labels (e.g., "DSS Data" vs. "Operating Data").
    • Example:
      DSS Data Operating Data
      Historical trends Real-time transactions
      External market data Internal records (e.g., sales)
  2. For descriptive questions (e.g., "Discuss DSS development life cycle"):

    • Follow the DLC phases in order and link each to a real example (e.g., Pathao’s driver assignment).
    • Must-mention points:
      • Prototyping is unique to DSS (unlike traditional SDLC).
      • User feedback is iterative (not just at the end).
  3. For comparisons (e.g., "DSS vs. TPS"):

    • Use a table and highlight 3 key differences (purpose, users, output).
    • Avoid: Generic definitions—tie to Nepalese examples (e.g., Khalti TPS vs. Ncell DSS).
  4. For GDSS questions:

    • Explain anonymity and parallel processing with an example (e.g., policy workshops).
    • Mention tools like Mentimeter or Miro.
  5. Common pitfalls to avoid:

    • Vague examples: Always use Nepalese companies (e.g., eSewa, Ncell) or global tech (Google’s recommendation systems).
    • Overlooking UI: Even if the question isn’t about UI, mention its importance in 1 line (e.g., "A poorly designed UI can render even the best DSS useless").
    • Ignoring errors: If asked about challenges, list 3 sources of errors (data, model, knowledge) with examples.

Final Visual Summary:

Based on the TU BSc CSIT syllabus for Decision Support System and Expert System (CSC469), unit 4.

Discussion

Loading…