hreshold)
```

- Thresholds: all unique values of feature.
- Scanning thresholds = sorting: O(n log n)
---
# Binning features

![:scale 100%](images/binning_quantiles.png)
---
# Binning features

.left-column[
## Original
```
[[5. , 2. , 3.5, 1. ],
 [4.9, 3. , 1.4, 0.2],
 [4.4, 2.9, 1.4, 0.2],
 [5. , 2.3, 3.3, 1. ],
 [4.9, 2.5, 4.5, 1.7],
 [6.3, 2.5, 5. , 1.9],
 [6.3, 2.3, 4.4, 1.3],
 [5. , 3.5, 1.3, 0.3],
 [6.1, 2.8, 4.7, 1.2],
 [5. , 3.5, 1.6, 0.6]])
 ```
 ]
 .right-column[
## Binned
```
[[1, 0, 1, 1],
 [