Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Choose Classification vs Regression for Aircraft Health

EasyMachine Learning00:00
Practice interviewer
In session
5 left
00:00

Your question is Choose Classification vs Regression for Aircraft Health. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

AeroSight monitors telemetry from 1,200 commercial aircraft and wants a model for engine health analytics. Depending on the downstream use case, the team may need either a discrete operational decision or a continuous estimate, so you must decide when classification is appropriate versus regression.

Dataset

You are given historical flight-level and maintenance data collected over 24 months.

Feature GroupCountExamples
Sensor aggregates18exhaust_gas_temp_mean, vibration_std, oil_pressure_min, fuel_flow_mean
Flight context9route_length_km, cruise_altitude_ft, outside_air_temp, aircraft_age_years
Maintenance history6days_since_last_inspection, prior_fault_count_90d, component_cycles
Categorical metadata5engine_model, airline_region, mission_type, airport_class
Target options depend on the business question:
  • Classification target: maintenance_required_7d (1 if the engine required unscheduled maintenance within 7 days, else 0)

  • Regression target: remaining_cycles_to_service (continuous estimate of cycles until next required service)

  • Size: 96K flight records, 38 features

  • Class balance: 11% positive for maintenance_required_7d

  • Missing data: 8% missing in some sensor aggregates due to intermittent telemetry dropouts; 3% missing in maintenance logs

Success Criteria

A good solution should clearly justify when to frame the problem as classification versus regression, build one model for each target, and compare them using appropriate metrics. For classification, target F1 >= 0.68 and recall >= 0.75 on the positive class. For regression, target MAE <= 18 cycles.

Constraints

  • Predictions must run in under 100 ms per flight record in batch scoring
  • Maintenance planners need interpretable drivers of predictions
  • Avoid temporal leakage from future maintenance events

Deliverables

  1. Explain when classification is the correct framing and when regression is the correct framing for this aerospace problem.
  2. Build a classification pipeline for maintenance_required_7d.
  3. Build a regression pipeline for remaining_cycles_to_service.
  4. Compare evaluation metrics, error tradeoffs, and operational implications.
  5. Recommend which formulation you would deploy for two use cases: maintenance triage and service interval planning.