Skip to content

Commit

Permalink
Temporary commented out GP python example
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Jul 3, 2012
1 parent 12d64bb commit 7831cbd
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -23,9 +23,9 @@
kernel=GaussianKernel(feats_train, feats_train, width);

labels=BinaryLabels(trainlab);
gp=GaussianProcessRegression(1.0, feats_train, labels);
gp.set_kernel(kernel);
gp.train(feats_train);
out=gp.apply_regression(feats_test).get_labels();
testerr=mean(sign(out)!=testlab)
print(testerr)
#gp=GaussianProcessRegression(1.0, feats_train, labels);
#gp.set_kernel(kernel);
#gp.train(feats_train);
#out=gp.apply_regression(feats_test).get_labels();
#testerr=mean(sign(out)!=testlab)
#print(testerr)

0 comments on commit 7831cbd

Please sign in to comment.