Am working with R language and am trying to get accuracy for testing data and am having trained data sets in .CSV format
I've tried to run the program but it does't working I need help with that
train<-read.csv('LOCATION OF THE CSV FILE')
test<-read.csv('LOCATION OF THE CSV FILE')
train<-data.matrix(train)
test<-data.matrix(test)
train.x<-train[,1:15] #what is meaning of the line...?
train.y<-train[,16] #use of this line how to select the value
train.x<-t(train.x/255) # what is the use of 255 value
test_org<-test # explain the lines
test<-test[,1:15]
test<-t(test/255)
table(train.y)
train.y
This is my part of code I get this code from website and I need help with this code.