8.2.8 Supervised GraphWiseモデルのパフォーマンスの評価
次のコードに示すように、evaluateLabels
メソッドを使用して、モデルの様々な分類メトリックを評価できます。
opg4j> model.evaluateLabels(fullGraph, testVertices).print()
model.evaluateLabels(fullGraph,testVertices).print();
model.evaluate_labels(full_graph, test_vertices).print()
出力は、次の出力例のようになります。
+------------------------------------------+
| Accuracy | Precision | Recall | F1-Score |
+------------------------------------------+
| 0.8488 | 0.8523 | 0.831 | 0.8367 |
+------------------------------------------+