mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-22 15:11:24 -05:00
Run quartodoc build against the refactored package (engine/ extracted from core/, infra->infrastructure): regenerate the API reference so every stub points at the new paths. Adds engine.*/infrastructure.* stubs, removes the 41 stale core.solver.* / core.engine.* / core.scenarios.* / core.config.* / core.evaluation.* / infra*.qmd orphans, and refreshes the package pages (core now primitives-only) + index. Verified: all 47 documented symbols resolve in the new package; every index link resolves; zero stale mlsysim.core.<engine-mod> / mlsysim.infra references anywhere in docs/. (objects.json inventory is gitignored -- regenerated at build.)
34 lines
1000 B
Plaintext
34 lines
1000 B
Plaintext
# engine.solver.ResponsibleEngineeringModel { #mlsysim.engine.solver.ResponsibleEngineeringModel }
|
|
|
|
```python
|
|
engine.solver.ResponsibleEngineeringModel()
|
|
```
|
|
|
|
Models the computational cost of responsible AI practices (Wall 20: Safety).
|
|
|
|
This model quantifies the 'Safety Tax' — the additional compute and data
|
|
required for differential privacy or fairness guarantees.
|
|
|
|
Literature Source:
|
|
1. Abadi et al. (2016), "Deep Learning with Differential Privacy."
|
|
2. Anil et al. (2022), "Large-Scale Differentially Private BERT."
|
|
|
|
## Methods
|
|
|
|
| Name | Description |
|
|
| --- | --- |
|
|
| [solve](#mlsysim.engine.solver.ResponsibleEngineeringModel.solve) | Calculates the overhead of responsible engineering practices. |
|
|
|
|
### solve { #mlsysim.engine.solver.ResponsibleEngineeringModel.solve }
|
|
|
|
```python
|
|
engine.solver.ResponsibleEngineeringModel.solve(
|
|
base_training_time,
|
|
epsilon=1.0,
|
|
delta=1e-05,
|
|
min_subgroup_prevalence=0.01,
|
|
)
|
|
```
|
|
|
|
Calculates the overhead of responsible engineering practices.
|