Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /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)
- feats_train.set_feature_matrix(traindata_real);
- ^
- /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)
- feats_test.set_feature_matrix(testdata_real);
- ^
- /Users/wiking/shogun/examples/undocumented/java_modular/classifier_averaged_perceptron_modular.java:27: cannot find symbol
- symbol : constructor BinaryLabels(org.jblas.DoubleMatrix)
- location: class org.shogun.BinaryLabels
- BinaryLabels labels = new BinaryLabels(trainlab);
- ^
- /Users/wiking/shogun/examples/undocumented/java_modular/classifier_averaged_perceptron_modular.java:34: incompatible types
- found : org.shogun.RealVector
- required: org.jblas.DoubleMatrix
- DoubleMatrix out_labels = to_binary(perceptron.apply()).get_labels();
- ^
- 4 errors
Advertisement
Add Comment
Please, Sign In to add comment