2 教師あり学習 (1)

長くなりそうなので分割。おそらく決定木あたりまで。

library(mlr)
 ## Loading required package: ParamHelpers
library(reticulate) # pythonモジュールからデータだけいただく用
use_python("/usr/bin/python3")
library(ggplot2)
library(dplyr)
 ## 
 ## Attaching package: 'dplyr'
 ## The following objects are masked from 'package:stats':
 ## 
 ##     filter, lag
 ## The following objects are masked from 'package:base':
 ## 
 ##     intersect, setdiff, setequal, union
library(magrittr)
theme_set(theme_bw(base_family = "IPAexGothic")) # ggplot2の日本語プロット用
library(mlbench)
library(mlrCPO)