Explain with a case study of implementation of decision tree regression in R
Initially we import and split the data # Importing the dataset dataset = read.csv('Position_Salaries.csv') dataset = dataset[2:3] #Splitting the dataset into the Training set and Test set install.packages('caTools') library(caTools) set.seed(123) split = sample.split(dataset$Salary, Spl
Answered Nov 9, 2019 · 792 Views Read answer →