license:mit size_categories:n<1K format:csv modality:text library:datasets library:pandas library:mlcroissant library:polars region:us infinite-dataset-hub synthetic
---
license: mit
tags:
- infinite-dataset-hub
- synthetic
---

# AnagramMatrix

tags: classification, text, ML-anagram

_Note: This is an AI-generated dataset so its content may be inaccurate or false_

**Dataset Description:**

The 'AnagramMatrix' dataset comprises pairs of strings, where each pair consists of two words that are anagrams of each other. Each row in the dataset contains a label indicating whether the words are anagrams ('Anagram') or not ('NotAnagram'). The dataset is designed for a classification task in machine learning, where the goal is to train a model to predict whether a given pair of words are anagrams. The dataset includes a variety of word lengths and complexity to provide a balanced challenge for ML algorithms.

**CSV Content Preview:**

```csv
word1,word2,label
listen,silent,Anagram
dormitory,dirty room,Anagram
conversation,voices rant on,Anagram
cinema,iceman,Anagram
race,care,Anagram
joker,kore,Anagram
```

The dataset structure is simple and ideal for supervised learning models, where the feature space consists of the two input words and the target is the label indicating an anagram relationship. This dataset could be used for various natural language processing tasks, including anagram detection and classification.

**Source of the data:**

The dataset was generated using the [Infinite Dataset Hub](https://huggingface.co/spaces/infinite-dataset-hub/infinite-dataset-hub) and microsoft/Phi-3-mini-4k-instruct using the query 'anagrams':

- **Dataset Generation Page**: https://huggingface.co/spaces/infinite-dataset-hub/infinite-dataset-hub?q=anagrams&dataset=AnagramMatrix&tags=classification,+text,+ML-anagram
- **Model**: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct
- **More Datasets**: https://huggingface.co/datasets?other=infinite-dataset-hub
