search for: otheratt

Displaying 1 result from an estimated 1 matches for "otheratt".

Did you mean: otheratts
2009 Nov 25
0
predict(): NoSuchMethodError
.... 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", attname[i]) : java.lang.NoSuchMethodError: <init> Here is the printout of the a working case: cl = Linear Regre...