---
title: Pairwise Classification
type: templates
category: Ranking and Scoring
cat: ranking-and-scoring
order: 420
meta_title: Pairwise Classification Data Labeling Template
meta_description: Template for performing pairwise classification and comparison tasks with Label Studio for your machine learning and data science projects.
---
Perform pairwise classification and comparison of different objects with Label Studio using this template.
## Interactive Template Preview
## Labeling Configuration
```html
```
## About the labeling configuration
All labeling configurations must be wrapped in [View](/tags/view.html) tags.
You can add a [header](/tags/header.html) to provide instructions to the annotator:
```xml
```
Use the [Pairwise](/tags/pairwise.html) control tag to apply pairwise selections to two samples of text:
```xml
```
Use the [Text](/tags/text.html) object tag to specify two samples of text with distinct names:
```xml
```
## Related tags
- [Header](/tags/header.html)
- [Pairwise](/tags/pairwise.html)
- [Text](/tags/text.html)