Tensorflow-ranking

Latest version: v0.5.5

Safety actively analyzes 620978 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

3.0.0

tensorflow==2.5.0`.

2.5.0

0.5.3

This is the 0.5.3 release of TensorFlow Ranking. We release a ranking distillation benchmark called RD-Suite that will accompany a research paper.

We also include a new ranking loss, [YetiLogisticLoss](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/losses.py#L606): Adapted to neural network models from the [Yeti loss implementation for GBDT](https://arxiv.org/abs/2204.01500).

0.5.2

This is the 0.5.2 release of TensorFlow Ranking. We fix bugs and make a few improvements to the library. We also update the API reference on [www.tensorflow.org/ranking](https://www.tensorflow.org/ranking) and on Github [docs](http://www.github.com/tensorflow/ranking/tree/master/docs).

0.5.1

This is the 0.5.1 release of TensorFlow Ranking. We provide new ranking losses, metrics, layers, and pipeline based on the latest research progresses in Learning to Rank and Unbiased Ranking. We also update the API reference on [www.tensorflow.org/ranking](https://www.tensorflow.org/ranking) and on Github [docs](http://www.github.com/tensorflow/ranking/tree/master/docs). The new changes include:

- Ranking losses added in [tfr.keras.losses](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/losses.py):
- [PairwiseMSELoss](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/losses.py#L505): Implement a pairwise mean squared error loss.
- [OrdinalLoss](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/losses.py#L1341): Implement a pointwise multi-head ordinal regression on ordered multilabel.
- [MixtureEMLoss](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/losses.py#L1159): Implement a listwise Expectation-Maximization algorithm on a mixture model, introduced in [Revisiting two tower models for unbiased learning to rank](https://research.google/pubs/pub51296/).
- Lambda weights for Lambda losses added in [tfr.keras.losses](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/losses.py):
- [NDCGLambdaWeightV2](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/losses.py#L145): Implement an NDCG-based lambda weight for lambda losses, introduced in [On Optimizing Top-K Metrics for Neural Ranking Models](https://research.google/pubs/pub51345/).
- [LabelDiffLambdaWeight](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/losses.py#L108): Implement a lambda weight based on the absolute difference of two labels.
- Ranking metric added in [tfr.keras.metrics](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/metrics.py):
- [HitsMetric](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/metrics.py#L268): Implement Hitsk metric.
- Ranking layer added in [tfr.keras.layers](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/layers.py):
- [Bilinear](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/layers.py#L806): A layer to implement a bilinear interaction of two vectors, used in [Revisiting two tower models for unbiased learning to rank](https://research.google/pubs/pub51296/).
- Ranking pipeline added in [tfr.keras.pipeline](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/pipeline.py):
- [MultiObjectivePipeline](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/python/keras/pipeline.py#L827): A pipeline to apply multi-objective losses, used in [Scale Calibration of Deep Ranking Models](https://research.google/pubs/pub51402/).
- API reference updated on [www.tensorflow.org/ranking](https://www.tensorflow.org/ranking) and consistently on Github [docs](http://www.github.com/tensorflow/ranking/tree/master/docs).

Dependencies: The following packages will be installed as required when installing `tensorflow-ranking`.

0.5.0

This is the 0.5.0 release of TensorFlow Ranking. We provide a detailed overview, tutorial notebooks and API reference on [www.tensorflow.org/ranking](https://www.tensorflow.org/ranking). The new changes are:

- Move [task.py](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/extension/task.py) and premade [tfrbert_task.py](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/extension/premade/tfrbert_task.py) to extension.
- Remove RankingNetwork based tfr-bert example. The latest tfr-bert example using native Keras is available at [tfrbert_antique_train.py](https://github.com/tensorflow/ranking/blob/master/tensorflow_ranking/examples/keras/tfrbert_antique_train.py).
- Remove dependency on `tf-models-official` package to reduce install time. Users of `tfr.ext.task` or modules that depend on the above package will need to manually install it.
- Updated all docstrings to be more detailed. Made several docstrings to be testable.
- Add colab notebooks for [quickstart](https://github.com/tensorflow/ranking/blob/master/docs/tutorials/quickstart.ipynb) tutorial and [distributed ranking](https://github.com/tensorflow/ranking/blob/master/docs/tutorials/ranking_dnn_distributed.ipynb) tutorial, also available on [www.tensorflow.org/ranking](https://www.tensorflow.org/ranking).
- Update strategy_utils to support parameter server strategy.
- Add symmetric log1p to tfr.utils.
- Remove references to Estimator/Feature Column related APIs in API reference.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.