species island bill_length_mm bill_depth_mm
Adelie :152 Length:344 Min. :32.10 Min. :13.10
Chinstrap: 68 Class :character 1st Qu.:39.23 1st Qu.:15.60
Gentoo :124 Mode :character Median :44.45 Median :17.30
Mean :43.92 Mean :17.15
3rd Qu.:48.50 3rd Qu.:18.70
Max. :59.60 Max. :21.50
NA's :2 NA's :2
flipper_length_mm body_mass_g sex RowId
Min. :172.0 Min. :2700 Length:344 Min. : 1.00
1st Qu.:190.0 1st Qu.:3550 Class :character 1st Qu.: 86.75
Median :197.0 Median :4050 Mode :character Median :172.50
Mean :200.9 Mean :4202 Mean :172.50
3rd Qu.:213.0 3rd Qu.:4750 3rd Qu.:258.25
Max. :231.0 Max. :6300 Max. :344.00
NA's :2 NA's :2
新建学习任务
代码
tsk_penguins <-as_task_classif(tb_penguins, target ="species", id ="penguins")tsk_penguins
<TaskClassif:penguins> (344 x 8)
* Target: species
* Properties: multiclass
* Features (7):
- int (3): RowId, body_mass_g, flipper_length_mm
- dbl (2): bill_depth_mm, bill_length_mm
- chr (2): island, sex
In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.