task_categories:tabular-classification size_categories:n<1K language:en license:cc adult tabular_classification binary_classification UCI region:us
---
configs:
- config_name: sonar
language:
- en
tags:
- adult
- tabular_classification
- binary_classification
- UCI
pretty_name: Sonar
size_categories:
- n<1K
task_categories:
- tabular-classification
license: cc
---
# Sonar
The [Sonar dataset](https://archive-beta.ics.uci.edu/dataset/151/connectionist+bench+sonar+mines+vs+rocks) from the [UCI ML repository](https://archive.ics.uci.edu/ml/datasets).
Dataset to discriminate between sonar signals bounced off a metal cylinder and those bounced off a roughly cylindrical rock.

# Configurations and tasks
| **Configuration** | **Task**                  | **Description**                                                 |
|-------------------|---------------------------|-----------------------------------------------------------------|
| sonar             | Binary classification     | Is the sonar detecting a rock?                                  |

# Usage
```python
from datasets import load_dataset

dataset = load_dataset("mstz/sonar")["train"]
```
