Skip to content

Commit

Permalink
use real type for accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf authored and vigsterkr committed Mar 10, 2016
1 parent 9870673 commit cccc3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/meta/src/classifier/knn.sg
Expand Up @@ -27,6 +27,6 @@ Labels labels_predict = knn.apply(features_test)

# integration testing variables
MulticlassAccuracy eval()
Real accuracy = eval.evaluate(labels_predict, labels_test)
real accuracy = eval.evaluate(labels_predict, labels_test)
RealVector output = labels_test.get_values()
RealMatrix mat = features_train.get_feature_matrix()

0 comments on commit cccc3bd

Please sign in to comment.