Guest User

Untitled

a guest
Jul 31st, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. /Users/wiking/shogun/examples/undocumented/java_modular/classifier_averaged_perceptron_modular.java:24: set_feature_matrix(org.shogun.RealMatrix) in org.shogun.RealFeatures cannot be applied to (org.jblas.DoubleMatrix)
  2. feats_train.set_feature_matrix(traindata_real);
  3. ^
  4. /Users/wiking/shogun/examples/undocumented/java_modular/classifier_averaged_perceptron_modular.java:26: set_feature_matrix(org.shogun.RealMatrix) in org.shogun.RealFeatures cannot be applied to (org.jblas.DoubleMatrix)
  5. feats_test.set_feature_matrix(testdata_real);
  6. ^
  7. /Users/wiking/shogun/examples/undocumented/java_modular/classifier_averaged_perceptron_modular.java:27: cannot find symbol
  8. symbol : constructor BinaryLabels(org.jblas.DoubleMatrix)
  9. location: class org.shogun.BinaryLabels
  10. BinaryLabels labels = new BinaryLabels(trainlab);
  11. ^
  12. /Users/wiking/shogun/examples/undocumented/java_modular/classifier_averaged_perceptron_modular.java:34: incompatible types
  13. found : org.shogun.RealVector
  14. required: org.jblas.DoubleMatrix
  15. DoubleMatrix out_labels = to_binary(perceptron.apply()).get_labels();
  16. ^
  17. 4 errors
Advertisement
Add Comment
Please, Sign In to add comment