Sonar | R Documentation |
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.
data(Sonar)
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).
# Load the dataset
data(Sonar)
# Print the first few rows of the dataset
print(head(Sonar))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.