17.6.9 Unsupervised Anomaly Detection 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

ノート:

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