Skip to content

Commit

Permalink
print predict accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Aug 3, 2018
1 parent 6681684 commit 4c4e3c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spark_/train_spark_RF.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public static void main(String[] args) {

System.out.println("----------------- accuracy ----------------- ");
System.out.println("Trained RF model:\n" + rfModel.toDebugString());
System.out.println("accuracy: " + rmse );
System.out.println("----------------- accuracy ----------------- ");
}
}

0 comments on commit 4c4e3c8

Please sign in to comment.