-
Notifications
You must be signed in to change notification settings - Fork 3.6k
add a metrics for calculating pearson correlation coefficient #1274
Conversation
Hi @luffy06 - Thanks for the PR - I was qualifying the change internally to accept in the main branch, any reason you closed this PR? Thanks! |
@afrozenator I'm sorry, there are some bugs when it is building on Travis-CI. I'll fix it and make a pull request again. |
I just found out that the test is slightly broken
Please note that travis is currently broken, so if your metrics_test passes locally, you should be fine -- thanks again for this, this is very nice addtion. |
Just reopen this when you are done and then we can take it forward. Thanks again! |
This still errors internally with tf-nightly (i.e.
|
There are some errors in my metric_test method, I'm fixing it. |
Hi @afrozenator, I've fixed my code errors and built success in Travis. Please qualify my PR. Thanks a lot. |
Beautiful! Many thanks @luffy06 ! |
PiperOrigin-RevId: 224104845
* master: internal merge of PR tensorflow#1274 add a metrics for calculating pearson correlation coefficient (tensorflow#1274) Rm dataset internal merge of PR tensorflow#1269 Improved model free eval. (tensorflow#1269) Re-enable eval summaries in the correct directory Create an integer problem_0_steps variable. (tensorflow#1273) Small En-Ro dataset for low-resource experiments, use that one in translation multi-problem; and a few corrections. Rm evaluation_hooks summarysaver. This shouldn't be here. Directory may be eval_train. Estimator is already logging summaries for eval. Add support for multiproblem to mtf_model add explicit taskid check for all multiproblem_weight functions Readd nfg to open-source T2T for external collaboration. Starting work on a new mesh_tensorflow Transformer implementation. This implementation lives in the mesh_tensorflow library and does not depend on Tensor2Tensor.
…flow#1274) * add pearson metrics and test method * fix test errors * update metrics test: dimension error * update metrics test * update metrics test * update metrics test * update metrics test * fix errors
PiperOrigin-RevId: 224104845
Dear community, I'm using tensor2tensor for text similarity tasks and I find no metrics for calculating pearson correlation coefficient.