<!-- PCU: ch04-supervised | contract: contracts/apr-book-ch04-v1.yaml -->
<!-- Example: cargo run -p aprender-core --example ch04_supervised -->
<!-- Status: enforced -->
# Chapter 04: Supervised Learning
> Contract: [`apr-book-ch04`](../../../contracts/apr-book-ch04-v1.yaml)
Run: `cargo run -p aprender-core --example ch04_supervised`
```rust,ignore
{{#include ../../../crates/aprender-core/examples/ch04_supervised.rs}}
```