public interface VertexAnomalyDetectionModel
| Modifier and Type | Interface and Description |
|---|---|
static class |
VertexAnomalyDetectionModel.AnomalyDetectionInferenceType |
| Modifier and Type | Method and Description |
|---|---|
<ID> PgxFrame |
evaluateAnomalyLabels(PgxGraph graph,
java.lang.Iterable<PgxVertex<ID>> vertices,
java.lang.String vertexAnomalyPropertyName,
java.lang.Object anomalyPropertyValue,
float threshold)
Blocking version of
evaluateAnomalyLabelsAsync(PgxGraph, Iterable, String, Object, float). |
<ID> PgxFuture<PgxFrame> |
evaluateAnomalyLabelsAsync(PgxGraph graph,
java.lang.Iterable<PgxVertex<ID>> vertices,
java.lang.String vertexAnomalyPropertyName,
java.lang.Object anomalyPropertyValue,
float threshold)
Evaluates anomaly detection performance statistics for the specified vertices.
|
<ID> java.lang.Double |
findAnomalyThreshold(PgxGraph graph,
java.lang.Iterable<PgxVertex<ID>> vertices,
float contaminationFactor)
Blocking version of
findAnomalyThresholdAsync(PgxGraph, Iterable, float). |
<ID> PgxFuture<java.lang.Double> |
findAnomalyThresholdAsync(PgxGraph graph,
java.lang.Iterable<PgxVertex<ID>> vertices,
float contaminationFactor)
Finds an appropriate anomaly threshold for labeling the input vertices as anomalies,
respecting the proportion given by the contamination factor
|
<ID> PgxFrame |
inferAnomalyLabels(PgxGraph graph,
java.lang.Iterable<PgxVertex<ID>> vertices,
float threshold)
Blocking version of
inferAnomalyLabelsAsync(PgxGraph, Iterable, float). |
<ID> PgxFuture<PgxFrame> |
inferAnomalyLabelsAsync(PgxGraph graph,
java.lang.Iterable<PgxVertex<ID>> vertices,
float threshold)
Infers the anomaly labels for the specified vertices.
|
<ID> PgxFrame |
inferAnomalyScores(PgxGraph graph,
java.lang.Iterable<PgxVertex<ID>> vertices)
Blocking version of
inferAnomalyScoresAsync(PgxGraph, Iterable). |
<ID> PgxFuture<PgxFrame> |
inferAnomalyScoresAsync(PgxGraph graph,
java.lang.Iterable<PgxVertex<ID>> vertices)
Infers the anomaly scores for the specified vertices.
|
<ID> PgxFrame evaluateAnomalyLabels(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices, java.lang.String vertexAnomalyPropertyName, java.lang.Object anomalyPropertyValue, float threshold)
evaluateAnomalyLabelsAsync(PgxGraph, Iterable, String, Object, float).<ID> PgxFuture<PgxFrame> evaluateAnomalyLabelsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices, java.lang.String vertexAnomalyPropertyName, java.lang.Object anomalyPropertyValue, float threshold)
graph - the input graphvertices - the vertices to produce labels tovertexAnomalyPropertyName - the name of the vertex containing the ground truth anomaly labelsanomalyPropertyValue - the value representing anomalies in vertexAnomalyPropertyName propertythreshold - the decision threshold<ID> java.lang.Double findAnomalyThreshold(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices, float contaminationFactor)
findAnomalyThresholdAsync(PgxGraph, Iterable, float).<ID> PgxFuture<java.lang.Double> findAnomalyThresholdAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices, float contaminationFactor)
graph - the input graphvertices - the vertices used to find the thresholdcontaminationFactor - the expected proportion of vertices that should be labeled as anomalies<ID> PgxFrame inferAnomalyLabels(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices, float threshold)
inferAnomalyLabelsAsync(PgxGraph, Iterable, float).<ID> PgxFuture<PgxFrame> inferAnomalyLabelsAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices, float threshold)
graph - the input graphvertices - the vertices to produce labels tothreshold - the decision threshold<ID> PgxFrame inferAnomalyScores(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices)
inferAnomalyScoresAsync(PgxGraph, Iterable).<ID> PgxFuture<PgxFrame> inferAnomalyScoresAsync(PgxGraph graph, java.lang.Iterable<PgxVertex<ID>> vertices)
graph - the input graphvertices - the vertices to find anomaly scores for