weka.core.UnsupportedAttributeTypeException: weka.classifiers.trees.j48.C45PruneableClassifierTree: Cannot handle string attributes
问题 I have the following code : #load required library library(data.tree) library(entropy) library(RWeka) library(partykit) library(FSelector) library(e1071) library(caret) library(RWekajars) #Load dataset rest_contries <- fromJSON("https://restcountries.eu/rest/v1/all") View(rest_contries) class(rest_contries) dim(rest_contries) cleaned_rest_countries <- rest_contries[,c(1,2,5,6)] View(cleaned_rest_countries) #================ J48 Algorithm ================================================= m <-