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

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

次のコードに示すように、事前トレーニング済のSupervised GraphWiseモデルをデータベースのモデル・ストア表からロードできます。

JShellを使用した事前トレーニング済Supervised GraphWiseモデルのロード

opg4j> var model = analyst.loadSupervisedGraphWiseModel().db().
                modelstore("modeltablename"). // name of the model store table
                modelname("model").           // model name (primary key of model store table)
                load();
Javaを使用した事前トレーニング済Supervised GraphWiseモデルのロード

SupervisedGraphWiseModelmodel = analyst.loadSupervisedGraphWiseModel().db()
     .modelstore("modeltablename") // name of the model store table
     .modelname("model")           // model name (primary key of model store table)
     .load();
Pythonを使用した事前トレーニング済Supervised GraphWiseモデルのロード
analyst.get_supervised_graphwise_model_loader().db(model_store="modelstoretablename",
                                                             model_name="model")

ノート:

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