Displaying 2 results from an estimated 2 matches for "algname".
Did you mean:
abiname
2007 May 07
1
TukeyHSD fails on my data
Howdo folks,
So I have my data (attached). There are two columns I'm interested in;
"algname" and "dur". I'd like to know how dur changes with algname.
algname is nominal and there are 7 possibilities. There are two more
nominal independents, "task" and "id", so my model is:
dur ~ algname+task+id
From the research I've done, a TukeyHSD seems...
2009 Nov 25
0
predict(): NoSuchMethodError
...set.
The code works for almost all cases, but then errors out on a case that
seems like it should work the same.
This is the line of code that is giving me the problem:
NewClusterData[j,att] <- predict(cl,newdata = ClusterData[j,],type="class")
Here is the code for the arguments:
algName <- "LinearRegression"
Formula <- as.formula(paste(as.name(att), " ~ ", paste(otherAtts, collapse=
"+")))
myAlg <- get(algName)
cl <- myAlg(Formula, data = Data)
And this is the error I'm getting:
Error in .jnew("weka/core/Attribute", attnam...