17.6.2 Building a Minimal Unsupervised Anomaly Detection GraphWise Model
You can build an Unsupervised Anomaly Detection GraphWise model using the
minimal configuration and default hyper-parameters. Note that even though only one feature
property is specified in the following example, you can specify arbitrarily many.
opg4j> var model = analyst.unsupervisedAnomalyDetectionGraphWiseModelBuilder().
setVertexInputPropertyNames("features").
build()
UnsupervisedAnomalyDetectionGraphWiseModel model = analyst.unsupervisedAnomalyDetectionGraphWiseModelBuilder()
.setVertexInputPropertyNames("features")
.build();
model = analyst.unsupervised_anomaly_detection_graphwise_builder(vertex_input_property_names=["features"])