Sonar: Sonar

SonarR Documentation

Sonar

Description

This dataset contains sonar signals bounced off a metal cylinder (mines) and a roughly cylindrical rock. The task is to classify whether the signal is from a mine or a rock based on the sonar signal patterns.

Usage

data(Sonar)

Format

A data frame with 208 rows and 61 columns representing different features of sonar signals.

  • Attribute1: Continuous feature representing energy within a frequency band.

  • Attribute2: Continuous feature representing energy within a frequency band.

  • Attribute3: Continuous feature representing energy within a frequency band.

  • ...: Additional continuous features (up to Attribute60).

  • Class: Categorical target variable ('M' for mine, 'R' for rock).

Examples

# Load the dataset
data(Sonar)

# Print the first few rows of the dataset
print(head(Sonar))

LFM documentation built on June 11, 2025, 9:07 a.m.

Related to Sonar in LFM...