Package | Description |
---|---|
org.wso2.carbon.ml.core.spark.algorithms | |
org.wso2.carbon.ml.core.spark.models |
Modifier and Type | Method and Description |
---|---|
AnomalyDetectionModel |
AnomalyDetection.train(org.apache.spark.api.java.JavaRDD<org.apache.spark.mllib.linalg.Vector> trainData,
int noOfClusters,
int noOfIterations,
String newNormalLabel,
String newAnomalyLabel)
This methods trains Anomaly detection model
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,MulticlassMetrics> |
AnomalyDetectionModelBuilder.getEvaluationResults(AnomalyDetectionModel anomalyDetectionModel,
org.apache.spark.api.java.JavaRDD<org.apache.spark.mllib.linalg.Vector> normalTestData,
org.apache.spark.api.java.JavaRDD<org.apache.spark.mllib.linalg.Vector> anomalyTestData,
int minPercentile,
int maxPercentile,
String newNormalLabel,
String newAnomalyLabel)
This method is to evaluate the anomaly detection model
|
List<String> |
AnomalyDetection.test(AnomalyDetectionModel anomalyDetectionModel,
org.apache.spark.api.java.JavaRDD<org.apache.spark.mllib.linalg.Vector> data,
int percentile)
This method applies a anomaly detection model to a given dataset
|
Map<Integer,List<String>> |
AnomalyDetection.test(AnomalyDetectionModel anomalyDetectionModel,
org.apache.spark.api.java.JavaRDD<org.apache.spark.mllib.linalg.Vector> data,
int minPercentile,
int maxPercentile)
This method applies a anomaly detection model to a given dataset for a range of percentile values
|
String |
AnomalyDetection.test(AnomalyDetectionModel anomalyDetectionModel,
org.apache.spark.mllib.linalg.Vector data,
int percentile)
This method applies a anomaly detection model to a given dataset
|
Map<Integer,String> |
AnomalyDetection.test(AnomalyDetectionModel anomalyDetectionModel,
org.apache.spark.mllib.linalg.Vector data,
int minPercentile,
int maxPercentile)
This method applies a anomaly detection model to a given dataset for a range of percentile values
|
Modifier and Type | Method and Description |
---|---|
AnomalyDetectionModel |
MLAnomalyDetectionModel.getModel() |
Modifier and Type | Method and Description |
---|---|
void |
MLAnomalyDetectionModel.setModel(AnomalyDetectionModel model) |
Constructor and Description |
---|
MLAnomalyDetectionModel(AnomalyDetectionModel model) |
Copyright © 2015 WSO2, Inc.. All Rights Reserved.