17.4.11 Unsupervised GraphWiseモデルの格納
モデルはデータベースに格納できます。モデルは、モデル・ストア表内の行として格納されます。
opg4j> model.export().db().
modelstore("modelstoretablename"). // name of the model store table
modelname("model"). // model name (primary key of model store table)
description("a model description"). // description to store alongside the model
store()
model.export().db()
.modelstore("modelstoretablename") // name of the model store table
.modelname("model") // model name (primary key of model store table)
.description("a model description") // description to store alongside the model
.store();
model.export().db(model_store="modeltablename", # name of the model store table
model_name="model", # model name (primary key of model store table)
model_description="a model description") # description to store alongside the model
ノート:
前述のすべての例では、現在ログインしているデータベースにモデルを格納することを前提としています。別のデータベースにモデルを格納する必要がある場合は、トレーニング済モデルの別のデータベースへの格納の例を参照してください。