My data is as follows:
d=readARFF("ant.arff")
dput( head( d, 50 ) )
d-> structure(list(version = c(1.7, 1.7, 1.7, 1.7, 1.7, 1.7, 1.7,
1.7, 1.7, 1.7, 1.7, 1.7, 1.7, 1.7, 1.7, 1.7,
1.7, 1.7, 1.7, 1.7,
1.7, 1.7, 1.7, 1.7, 1.7, 1.7, 1.7,
We don't have your data file. Therefore your example is not yet reproducible.
If you read the references I provided you in my other email then you will find
hints and discussion about how to make your example reproducible without giving
out your actual data. The reprex package mentioned in
This is the whole code I provided except the libraries such as
library(caret)
library(randomForest)
data=read.csv("fault.csv")
inTraining <- createDataPartition(data$bug , p = .75,list = FALSE)
training <- data [inTraining, ]
testings <- data [-inTraining, ]
ctrol = trainControl(method =
A) Plain text is a setting that you must choose in many modern email clients.
Failing to do so tends to cause us to see something more or less different than
what you intended us to see.
B) Repeating your incomplete example is a more significant issue in this case.
If you supply a reproducible
The code is described below: I need to find the RMSE and MAE
///read data which have data types of integer and number.
data=read.csv("fault.csv")
inTraining <- createDataPartition(data$bug , p = .75,list = FALSE)
training <- data [inTraining, ]
testings <- data [-inTraining, ]
ctrol =
Per the posting guide, post your script and use plain text. There's no
way anyone can possibly help with only this information.
On Fri, Dec 20, 2019 at 5:33 PM Neha gupta wrote:
>
> When I run my code, I get the following error and suddenly the execution
> of the script stops. Where in my data
When I run my code, I get the following error and suddenly the execution
of the script stops. Where in my data is the problem?
Something is wrong; all the MAE metric values are missing:
RMSERsquaredMAE
Min. : NA Min. : NA Min. : NA
1st Qu.: NA 1st Qu.: NA
7 matches
Mail list logo