8.3.2 最小限のUnsupervised GraphWiseモデルの作成

最小限の構成とデフォルトのハイパーパラメータを使用して、頂点プロパティのみ、エッジ・プロパティのみまたは両方でUnsupervised GraphWiseモデルを作成できます。
  1. 次のコードに示すように、Unsupervised GraphWiseモデルを作成します。
    JShellを使用した最小限のUnsupervised GraphWiseモデルの作成
    opg4j> var model = analyst.unsupervisedGraphWiseModelBuilder().
                    setVertexInputPropertyNames("features").
                    build()
    Javaを使用した最小限のUnsupervised GraphWiseモデルの作成
    UnsupervisedGraphWiseModel model = analyst.unsupervisedGraphWiseModelBuilder()
        .setVertexInputPropertyNames("features")
        .build();
    
    Pythonを使用した最小限のUnsupervised GraphWiseモデルの作成
    model = analyst.unsupervised_graphwise_builder(vertex_input_property_names=["features"])