8.3.8 事前トレーニング済Unsupervised GraphWiseモデルのロード

データベースからモデルをロードできます。

  1. 次のコードに示すように、事前トレーニング済のUnsupervised GraphWiseモデルをモデル・ストア表からロードします。
    JShellを使用した事前トレーニング済Unsupervised GraphWiseモデルのロード
    opg4j> var model = analyst.loadUnsupervisedGraphWiseModel().db().
                    modelstore("modeltablename"). // name of the model store table
                    modelname("model").           // model name (primary key of model store table)
                    load();
    Javaを使用した事前トレーニング済Unsupervised GraphWiseモデルのロード
    UnsupervisedGraphWiseModel model = analyst.loadUnsupervisedGraphWiseModel().db()
         .modelstore("modeltablename") // name of the model store table
         .modelname("model")           // model name (primary key of model store table)
         .load();
    Pythonを使用した事前トレーニング済Unsupervised GraphWiseモデルのロード
    analyst.get_unsupervised_graphwise_model_loader().db(model_store="modelstoretablename",
                                         model_name="model")

    ノート:

    前述のすべての例では、現在ログインしているデータベースからモデルをロードすることを前提としています。別のデータベースからモデルをロードする必要がある場合は、別のデータベースからの事前トレーニング済モデルのロードの例を参照してください。