2
아래와 같이 랜덤 포레스트 트리를 생성하고 플로팅을 시도했지만 오류가 발생하여 어디에서 실수를 했습니까? 올바른 방법으로 어떻게 그릴 수 있습니까?캐럿에 랜덤 포레스트 (레인저) 트리를 플로팅하는 방법
Actmodel <- train(Activity ~ Section + Author, data = CB1, method = "ranger",trControl = trainControl(method = "cv", number = 10, verboseIter = TRUE), preProcess = c("knnImpute"))
plot(Actmodel$finalModel)
Error in xy.coords(x, y, xlabel, ylabel, log) :
'x' is a list, but does not have components 'x' and 'y'
나는 동일한 문제가 있습니다. 지금 30 분 동안 구글을 수색하고 있었고 레인저 트리를 그릴 방법을 찾지 못했습니다. – Johan