The classic UCI abalone dataset: predict the number of rings (a proxy for age) of abalone from physical measurements. Included as standard supervised-learning practice data; it has no causal structure.

abalone

Format

A data frame with 4,177 rows and 9 columns: sex (factor), seven physical measurements and the target rings (integer).

Examples

data(abalone)
head(abalone)
#>   sex length diameter height whole_weight shucked_weight viscera_weight
#> 1   M  0.455    0.365  0.095       0.5140         0.2245         0.1010
#> 2   M  0.350    0.265  0.090       0.2255         0.0995         0.0485
#> 3   F  0.530    0.420  0.135       0.6770         0.2565         0.1415
#> 4   M  0.440    0.365  0.125       0.5160         0.2155         0.1140
#> 5   I  0.330    0.255  0.080       0.2050         0.0895         0.0395
#> 6   I  0.425    0.300  0.095       0.3515         0.1410         0.0775
#>   shell_weight rings
#> 1        0.150    15
#> 2        0.070     7
#> 3        0.210     9
#> 4        0.155    10
#> 5        0.055     7
#> 6        0.120     8