17.6.10 事前トレーニング済Unsupervised Anomaly Detection GraphWiseモデルのロード
次に示すように、事前トレーニング済のモデルをデータベースのモデル・ストア表からロードできます。
opg4j> var model = analyst.loadUnsupervisedAnomalyDetectionGraphWiseModel().db().
modelstore("modeltablename"). // name of the model store table
modelname("model"). // model name (primary key of model store table)
load()
UnsupervisedAnomalyDetectionGraphWiseModel model = analyst.loadUnsupervisedAnomalyDetectionGraphWiseModel().db()
.modelstore("modeltablename") // name of the model store table
.modelname("model") // model name (primary key of model store table)
.load();
model = analyst.get_unsupervised_anomaly_detection_graphwise_model_loader(). \
db("modeltablename", # name of the model store table
"model_name") # model name (primary key of model store table)
ノート:
前述のすべての例では、現在ログインしているデータベースからモデルをロードすることを前提としています。別のデータベースからモデルをロードする必要がある場合は、別のデータベースからの事前トレーニング済モデルのロードの例を参照してください。