Skip to content

Advanced Feature Engineering #35

Description

@levelslip
  • Description: Engineer domain-specific features for modeling
  • Activities:
    • Temporal features:
      • Hour of day (0-23)
      • Day of week (Monday=0, Sunday=6)
      • Is_peak_hour (boolean: 1 if 9-12 or 2-5, 0 otherwise)
      • Is_weekend (boolean: 1 if Saturday/Sunday)
      • Is_morning (boolean: 1 if 6-12, 0 otherwise)
      • Time_to_peak (minutes until next peak hour)
    • Queue features:
      • Current queue length at arrival
      • Average queue length at same time yesterday
      • Queue trend (increasing, stable, decreasing)
      • Queue velocity (patients served per hour)
      • Estimated time to clear queue
    • Doctor features:
      • Doctor efficiency score (avg service time)
      • Doctor availability (% free)
      • Doctor fatigue indicator (hours worked)
    • Department features:
      • Department average service time
      • Department average wait time at time
      • Department capacity utilization
      • Department workload (total patients)
    • Patient features:
      • Is_returning_patient (boolean)
      • Insurance type (categorical)
      • Patient history (avg service time for this patient)
    • Derived features:
      • Ratio features (queue_length / doctor_count)
      • Interaction features (peak_hour × high_queue)
    • Feature scaling and normalization:
      • Standardize numeric features (zero mean, unit variance)
      • Encode categorical features
      • Handle skewed distributions
    • Document feature engineering decisions
  • Deliverables: Engineered features dataset, feature documentation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

DSData Science Role

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions