Using scikit-learn and the pairwise transformation to train a ranking SVM model. A simple, minimal example on publicly available data.
There are several open-source contributors and resources cited in this repository including the following:
- https://huggingface.co/datasets/YahooResearch/Yahoo-Learning-to-Rank-Challenge
- https://colab.research.google.com/github/finardi/tutos/blob/master/learning_to_rank.ipynb/#scrollTo=vmpCW_oepNCZ
- https://gist.github.com/ceroper/58675b2ac2c73b66f24f63c32e837af2
The Github copilot extension using Claude and the Continue extension using Olmo3 were also a part of my process for writing or improving several utility functions.