You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 074eb85
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/svy-rs/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ All notable changes to **svy_rs**, the internal Rust extension powering `svy`'s
6
6
7
7
### Added
8
8
9
+
-**BREAKING: `rake` no longer takes `ll_bound`/`up_bound`**, and the `BOUNDS_EXCEEDED` error is gone; svy holds raking bounds through `calibrate_bounded(distance="raking")` instead of checking them after IPF.
10
+
-`calibrate_bounded` and `calibrate_bounded_by_domain` take `distance="raking"`: g = clamp(exp(u)), with the derivative zero exactly where g is clamped (R's `cal.raking` cuts at `lower - 1`, `upper - 1` and stalls feasible problems), a small Levenberg–Marquardt term so rows held at a bound can move back, and a backtracking search on the dual when the full Newton step does not shrink the misfit.
9
11
-`calibrate_bounded` and `calibrate_bounded_by_domain`: linear calibration with g held in `[lower, upper]`, a port of R survey's `grake` with `cal.linear` (Newton steps on `MASS::ginv`, R's stopping rule and pre-scaling). Each returns the weights and, per column (and domain), the largest `|misfit| / (1 + |t|)` and the Newton steps taken; a column that did not converge holds the last iterate.
0 commit comments