Obtains predictions from a fitted graphSVM object.
1 2 
object 
a fitted object of class inheriting from 'graphSVM' 
newdata 
a matrix with variables to predict 
type 

... 
currently ignored. 
the predictions.
Marc Johannes JohannesMarc@gmail.com
1 2 3 4 5 6 7 8 9 10  ## Not run:
library(pathClass)
data(example_data)
matched < matchMatrices(x=x, adjacency=adjacency.matrix, mapping=mapping)
dk < calc.diffusionKernel(L=matched$adjacency, is.adjacency=TRUE, beta=0) # beta should be tuned
fit < fit.graph.svm(matched$x[1:5,], y[1:5], DEBUG=TRUE, mapping=matched$mapping,
diffusionKernel=dk)
predict(fit, newdata=matched$x[6:10,])
## End(Not run)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.