WGU D682 - Task 4
Artificial Intelligence Optimization for Computer Scientists
Adapting an Optimized AI Solution for an Additional Application
Course D682 / ICSC 3112
Adapt an AI-optimized solution for an additional
Task focus
application
Practice adaptation Indoor school-building air-quality decision support
Gradient Boosting regression carried forward from
Model lineage
Tasks 2-3
Version 2026/2027 Updated reference submission
Practice-scenario notice: the indoor application, adapted feature schema, engineering targets, and any
synthetic data lineage in this document are clearly labeled reference material. They are not represented as
WGU-supplied data or as an official WGU scenario.
Prepared as a professional narrative reference aligned to the current D682 course emphasis on adapting
and extending optimized AI solutions to additional application scenarios.
WGU D682 Task 4 | Practice Adaptation Scenario | 2026/2027
,Executive Summary
Tasks 1 through 3 established a complete AI optimization lineage using a clearly labeled synthetic
environmental-health practice dataset. Task 1 implemented a baseline Random Forest regression model.
Task 2 optimized the solution and selected a Gradient Boosting regressor after comparative testing. Task 3
interpreted the optimized model, documented data assumptions, and demonstrated how predictions
should be used as decision support rather than treated as causal or clinical conclusions. Task 4 extends
that work by adapting the optimized solution to a materially different operating context: indoor air-
quality decision support for school buildings.
The existing optimized practice model achieved RMSE 2.0358, MAE 1.6126, and R-squared 0.8878 on the
held-out synthetic practice sample. Those values establish the performance history of the original model,
but they do not transfer automatically to the indoor domain. The central engineering decision in this task
is therefore to reuse the modeling approach and development discipline, not to reuse the old fitted model
unchanged.
The adapted system is designed to ingest room-level sensor and building-management data at a five-
minute aggregation cadence, predict a continuous indoorHealthRiskScore for prioritization, and present
the prediction with data-quality and model-version context. Because indoor air quality is shaped by
occupancy, ventilation, filtration, indoor sources, and outdoor-to-indoor transfer, several outdoor-oriented
features are removed or replaced. The adapted model must be retrained and independently validated on
labeled indoor data before operational use.
Figure 1. Performance lineage carried forward from Tasks 1-3. These metrics describe the original synthetic practice domain
only.
1. Alignment to the D682 Task 4 Competency
The September 2026 WGU catalog describes D682 as a course in implementing, optimizing, interpreting,
and ultimately adapting or extending AI solutions for diverse application scenarios. The fourth
competency is therefore demonstrated by showing how an already optimized solution must change when
WGU D682 Task 4 | Practice Adaptation Scenario | 2026/2027
, its data-generating environment, operational requirements, and deployment constraints change. The
adaptation cannot be limited to renaming a target variable or moving the same model to a different
server; it must account for the new domain.
Current student completion evidence also indicates that Task 4 is evaluated as a narrative report and that
evaluators expect specific discussion of domain requirements, changed variables, performance impacts,
computational requirements, and response-time considerations. This document addresses those areas
explicitly while avoiding claims that unverified rubric labels or protected task wording are reproduced
verbatim.
1.1 Task 4 objective
The objective is to adapt the optimized environmental-health prediction workflow to an indoor school-
building monitoring application. The solution should help facilities and health-support personnel identify
rooms or time periods that deserve review based on combined sensor conditions and contextual factors. It
is not designed to diagnose asthma, determine medical treatment, or replace regulatory-grade monitoring.
1.2 Why indoor school air quality is a defensible additional application
The U.S. Environmental Protection Agency identifies indoor air monitoring as a valid air-sensor
application and notes that lower-cost monitors may measure particulate matter, carbon dioxide,
temperature, humidity, and other environmental factors (U.S. EPA, n.d.-a). EPA guidance also emphasizes
defining the monitoring question, selecting fit-for-purpose sensors, planning data collection, evaluating
performance, and interpreting the resulting data in context (U.S. EPA, 2022). Those requirements make
indoor monitoring sufficiently related to the original environmental problem to reuse parts of the solution
architecture while still creating a genuine domain adaptation challenge.
WGU D682 Task 4 | Practice Adaptation Scenario | 2026/2027
Artificial Intelligence Optimization for Computer Scientists
Adapting an Optimized AI Solution for an Additional Application
Course D682 / ICSC 3112
Adapt an AI-optimized solution for an additional
Task focus
application
Practice adaptation Indoor school-building air-quality decision support
Gradient Boosting regression carried forward from
Model lineage
Tasks 2-3
Version 2026/2027 Updated reference submission
Practice-scenario notice: the indoor application, adapted feature schema, engineering targets, and any
synthetic data lineage in this document are clearly labeled reference material. They are not represented as
WGU-supplied data or as an official WGU scenario.
Prepared as a professional narrative reference aligned to the current D682 course emphasis on adapting
and extending optimized AI solutions to additional application scenarios.
WGU D682 Task 4 | Practice Adaptation Scenario | 2026/2027
,Executive Summary
Tasks 1 through 3 established a complete AI optimization lineage using a clearly labeled synthetic
environmental-health practice dataset. Task 1 implemented a baseline Random Forest regression model.
Task 2 optimized the solution and selected a Gradient Boosting regressor after comparative testing. Task 3
interpreted the optimized model, documented data assumptions, and demonstrated how predictions
should be used as decision support rather than treated as causal or clinical conclusions. Task 4 extends
that work by adapting the optimized solution to a materially different operating context: indoor air-
quality decision support for school buildings.
The existing optimized practice model achieved RMSE 2.0358, MAE 1.6126, and R-squared 0.8878 on the
held-out synthetic practice sample. Those values establish the performance history of the original model,
but they do not transfer automatically to the indoor domain. The central engineering decision in this task
is therefore to reuse the modeling approach and development discipline, not to reuse the old fitted model
unchanged.
The adapted system is designed to ingest room-level sensor and building-management data at a five-
minute aggregation cadence, predict a continuous indoorHealthRiskScore for prioritization, and present
the prediction with data-quality and model-version context. Because indoor air quality is shaped by
occupancy, ventilation, filtration, indoor sources, and outdoor-to-indoor transfer, several outdoor-oriented
features are removed or replaced. The adapted model must be retrained and independently validated on
labeled indoor data before operational use.
Figure 1. Performance lineage carried forward from Tasks 1-3. These metrics describe the original synthetic practice domain
only.
1. Alignment to the D682 Task 4 Competency
The September 2026 WGU catalog describes D682 as a course in implementing, optimizing, interpreting,
and ultimately adapting or extending AI solutions for diverse application scenarios. The fourth
competency is therefore demonstrated by showing how an already optimized solution must change when
WGU D682 Task 4 | Practice Adaptation Scenario | 2026/2027
, its data-generating environment, operational requirements, and deployment constraints change. The
adaptation cannot be limited to renaming a target variable or moving the same model to a different
server; it must account for the new domain.
Current student completion evidence also indicates that Task 4 is evaluated as a narrative report and that
evaluators expect specific discussion of domain requirements, changed variables, performance impacts,
computational requirements, and response-time considerations. This document addresses those areas
explicitly while avoiding claims that unverified rubric labels or protected task wording are reproduced
verbatim.
1.1 Task 4 objective
The objective is to adapt the optimized environmental-health prediction workflow to an indoor school-
building monitoring application. The solution should help facilities and health-support personnel identify
rooms or time periods that deserve review based on combined sensor conditions and contextual factors. It
is not designed to diagnose asthma, determine medical treatment, or replace regulatory-grade monitoring.
1.2 Why indoor school air quality is a defensible additional application
The U.S. Environmental Protection Agency identifies indoor air monitoring as a valid air-sensor
application and notes that lower-cost monitors may measure particulate matter, carbon dioxide,
temperature, humidity, and other environmental factors (U.S. EPA, n.d.-a). EPA guidance also emphasizes
defining the monitoring question, selecting fit-for-purpose sensors, planning data collection, evaluating
performance, and interpreting the resulting data in context (U.S. EPA, 2022). Those requirements make
indoor monitoring sufficiently related to the original environmental problem to reuse parts of the solution
architecture while still creating a genuine domain adaptation challenge.
WGU D682 Task 4 | Practice Adaptation Scenario | 2026/2027