search for: probas1

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

Did you mean: probas
2008 May 13
0
Un-reproductibility of SVM classification with 'e1071' libSVM package
...rnorm(100) c = runif(100)>0.5 x2 = rnorm(100)# test set y2 = rnorm(100) # learning a svm model 2 times, predicting 2 times, and results differ ! set.seed(15) model = svm(data.frame(x, y), as.factor(c), probability=TRUE ) pred1 = predict( model, newdata = data.frame(x2, y2), probability=TRUE) probas1 = as.numeric(attr(pred1,"probabilities")[,"TRUE"]) set.seed(15) model = svm(data.frame(x, y), as.factor(c), probability=TRUE ) pred2 = predict( model, newdata = data.frame(x2, y2), probability=TRUE) probas2 = as.numeric(attr(pred2,"probabilities")[,"TRUE"]...