Slide 12
Slide 12 text
3ͰͬͯΈΔ 12
3Ͱ"6ݕఆΛߦ͏ͨΊʹQWDMVTUύοέʔδΛར༻͢Δ
ɹlibrary(pvclust)
ɹlibrary(parallel)
ɹcl <- makeCluster(detectCores()) #ฒྻԽͷ͓·͡ͳ͍
ɹ
ɹ# આ໌ม͕ߦɺର͕ྻͷঢ়ଶʹ͢ΔͨΊʹసஔ
ɹmnist_df_t <-
ɹɹɹɹmnist_df %>%
ɹɹɹɹdplyr::select(-label) %>%
ɹɹɹɹt()
ɹcolnames(mnist_df_t) <- mnist_df$label
ɹsa <- 9^seq(-1,1,length=13)ɹ# ϚϧνεέʔϧϒʔτετϥοϓͷεέʔϧྻΛੜ
ɹmnist_boot <- pvclust(data = mnist_df_t,
ɹ r = 1/sa,
ɹ nboot = 2000,
ɹ method.hclust = "ward.D2",
ɹɹɹɹɹɹɹɹɹɹɹɹɹparallel = cl)