我正在使用R语言,正在尝试提高测试数据的准确性,并已训练了.CSV格式的数据集
我试图运行该程序,但是它不起作用,我需要帮助
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
这是我代码的一部分,我从网站上获取此代码,我需要有关此代码的帮助。