Skip to content

Fix sample weight generation in membership_inference_attack_test. - #649

Merged
copybara-service[bot] merged 1 commit into
masterfrom
cl/970702498
Aug 26, 2026
Merged

Fix sample weight generation in membership_inference_attack_test.#649
copybara-service[bot] merged 1 commit into
masterfrom
cl/970702498

Conversation

@copybara-service

Copy link
Copy Markdown

Fix sample weight generation in membership_inference_attack_test.

  • Replace rng.randn with rng.rand for sample weights in MIA test helpers to
    ensure non-negative sample weights required by RandomForestClassifier's
    bootstrap sampling logic.

@copybara-service
copybara-service Bot force-pushed the cl/970702498 branch 5 times, most recently from 059f76a to 1e0a893 Compare August 25, 2026 22:39
@copybara-service
copybara-service Bot force-pushed the cl/970702498 branch 2 times, most recently from 6d22f14 to 6ab7d93 Compare August 26, 2026 18:01
* Replace `rng.randn` with `rng.rand` for sample weights in MIA test helpers to
  ensure non-negative sample weights required by `RandomForestClassifier`'s
  bootstrap sampling logic.

PiperOrigin-RevId: 971422996
@copybara-service
copybara-service Bot merged commit c5a3633 into master Aug 26, 2026
3 checks passed
@copybara-service
copybara-service Bot deleted the cl/970702498 branch August 26, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants