Commit 8f68733
Remove extra normalize in pairwise probit (facebookresearch#823)
Summary:
Pull Request resolved: facebookresearch#823
This diff modifies the `PairwiseProbitModel` by removing an extra normalization step in the `pairwise_probit.py` file. The normalization should now be handled by transforms. Additionally, the `test_pairwise_probit.py` file is updated to reflect this change.
Reviewed By: phigua
Differential Revision: D84107038
fbshipit-source-id: 6b253c150126174a2ee1eaa7a7000c68e7348b121 parent d82d5c2 commit 8f68733
2 files changed
Lines changed: 36 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
96 | | - | |
97 | | - | |
98 | 95 | | |
99 | 96 | | |
100 | 97 | | |
| |||
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
109 | | - | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
187 | 194 | | |
188 | 195 | | |
189 | 196 | | |
| |||
341 | 348 | | |
342 | 349 | | |
343 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
344 | 374 | | |
345 | 375 | | |
346 | 376 | | |
347 | 377 | | |
348 | | - | |
| 378 | + | |
349 | 379 | | |
350 | 380 | | |
351 | 381 | | |
| 382 | + | |
352 | 383 | | |
353 | 384 | | |
354 | 385 | | |
355 | 386 | | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
| 387 | + | |
| 388 | + | |
364 | 389 | | |
365 | 390 | | |
366 | 391 | | |
| 392 | + | |
367 | 393 | | |
368 | 394 | | |
369 | 395 | | |
| |||
0 commit comments