public class AnalysisApiV11 extends MLRestAPI
Constructor and Description |
---|
AnalysisApiV11() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addCustomizedFeatures(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLCustomizedFeature> customizedFeatures)
Adding customized features of an analysis.
|
javax.ws.rs.core.Response |
addDefaultsIntoCustomizedFeatures(long analysisId,
org.wso2.carbon.ml.commons.domain.MLCustomizedFeature customizedValues)
Set default features as customized features of an analysis.
|
javax.ws.rs.core.Response |
addDefaultsIntoHyperParameters(long analysisId)
Load default configurations as configurations of an analysis.
|
javax.ws.rs.core.Response |
addHyperParameters(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLHyperParameter> hyperParameters,
String algorithmName)
Add hyper-parameters for the selected algorithm of an analysis.
|
javax.ws.rs.core.Response |
addModelConfiguration(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLModelConfiguration> modelConfigs)
Add configurations of an analysis.
|
javax.ws.rs.core.Response |
createAnalysis(org.wso2.carbon.ml.commons.domain.MLAnalysis analysis)
Create a new analysis of a project.
|
javax.ws.rs.core.Response |
deleteAnalysis(long analysisId)
Delete an analysis of a given ID.
|
javax.ws.rs.core.Response |
getAlgorithmName(long analysisId)
Get the algorithm name of an analysis.
|
javax.ws.rs.core.Response |
getAlgorithmType(long analysisId)
Get the algorithm type of an analysis.
|
javax.ws.rs.core.Response |
getAllAnalyses()
Retrieve all analyses.
|
javax.ws.rs.core.Response |
getAllFeatures(String analysisId)
Get all feature names of an analysis.
|
javax.ws.rs.core.Response |
getAllModelsOfAnalysis(long analysisId)
Get all models of an analysis.
|
javax.ws.rs.core.Response |
getConfigs(long analysisId,
int limit,
int offset)
Get configurations of an analysis.
|
javax.ws.rs.core.Response |
getCustomizedFeatures(long analysisId,
int limit,
int offset)
Get customized features of an analysis.
|
javax.ws.rs.core.Response |
getfilteredFeatures(String analysisId,
String featureType)
Get filtered feature names of an analysis.
|
javax.ws.rs.core.Response |
getHyperParameters(long analysisId,
String algorithmName)
Get hyper-parameter of an analysis.
|
javax.ws.rs.core.Response |
getNewAnomalyLabel(long analysisId)
Get the new anomaly labels of an analysis.
|
javax.ws.rs.core.Response |
getNewNormalLabel(long analysisId)
Get the new normal label of an analysis.
|
javax.ws.rs.core.Response |
getNormalization(long analysisId)
Get the normalization option of an analysis.
|
javax.ws.rs.core.Response |
getNormalLabels(long analysisId)
Get the normal labels of an analysis.
|
javax.ws.rs.core.Response |
getObservationList(long analysisId)
get the observation list fraction of an analysis.
|
javax.ws.rs.core.Response |
getProductVariable(long analysisId)
get the product variable of an analysis.
|
javax.ws.rs.core.Response |
getRatingVariable(long analysisId)
get the rating variable of an analysis.
|
javax.ws.rs.core.Response |
getResponseVariable(long analysisId)
Get the response variable of an analysis.
|
javax.ws.rs.core.Response |
getSummarizedFeatures(long analysisId,
int limit,
int offset)
Get summarized features of an analysis.
|
javax.ws.rs.core.Response |
getSummaryStatistics(long analysisId,
String featureName)
Get summary statistics of a feature of an analysis.
|
javax.ws.rs.core.Response |
getTrainDataFraction(long analysisId)
Get the train data fraction of an analysis.
|
javax.ws.rs.core.Response |
getUserVariable(long analysisId)
get the user variable of an analysis.
|
javax.ws.rs.core.Response |
options()
HTTP Options method implementation for analysis API.
|
getTenantID
public javax.ws.rs.core.Response options()
public javax.ws.rs.core.Response createAnalysis(org.wso2.carbon.ml.commons.domain.MLAnalysis analysis)
analysis
- MLAnalysis
objectpublic javax.ws.rs.core.Response addCustomizedFeatures(long analysisId, List<org.wso2.carbon.ml.commons.domain.MLCustomizedFeature> customizedFeatures)
analysisId
- Unique id of the analysiscustomizedFeatures
- List
of MLCustomizedFeature
objectspublic javax.ws.rs.core.Response addDefaultsIntoCustomizedFeatures(long analysisId, org.wso2.carbon.ml.commons.domain.MLCustomizedFeature customizedValues)
analysisId
- Unique id of the analysiscustomizedValues
- MLCustomizedFeature
objectpublic javax.ws.rs.core.Response getSummarizedFeatures(long analysisId, int limit, int offset)
analysisId
- Unique id of the analysislimit
- Number of features need to retrieve, from the starting indexoffset
- Starting indexFeatureSummary
objectspublic javax.ws.rs.core.Response getCustomizedFeatures(long analysisId, int limit, int offset)
analysisId
- Unique id of the analysislimit
- Number of features need to retrieve, from the starting indexoffset
- Starting indexMLCustomizedFeature
objectspublic javax.ws.rs.core.Response getConfigs(long analysisId, int limit, int offset)
analysisId
- Unique id of the analysislimit
- Number of features included in the analysis configurationoffset
- Starting index of the featuresMLAnalysisConfigsBean
objectspublic javax.ws.rs.core.Response getfilteredFeatures(String analysisId, String featureType)
analysisId
- Unique id of the analysisfeatureType
- Feature type need to retrieve (Categorical or Numerical)public javax.ws.rs.core.Response getAllFeatures(String analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getResponseVariable(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getAlgorithmName(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getAlgorithmType(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getNormalLabels(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getNormalization(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getNewNormalLabel(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getNewAnomalyLabel(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getTrainDataFraction(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getSummaryStatistics(long analysisId, String featureName)
analysisId
- Unique id of the analysisfeatureName
- Name of the featurepublic javax.ws.rs.core.Response addModelConfiguration(long analysisId, List<org.wso2.carbon.ml.commons.domain.MLModelConfiguration> modelConfigs)
analysisId
- Unique id of the analysismodelConfigs
- List
of MLModelConfiguration
objectspublic javax.ws.rs.core.Response addHyperParameters(long analysisId, List<org.wso2.carbon.ml.commons.domain.MLHyperParameter> hyperParameters, String algorithmName)
analysisId
- Unique id of the analysishyperParameters
- List
of MLHyperParameter
objectsalgorithmName
- Algorithm namepublic javax.ws.rs.core.Response getHyperParameters(long analysisId, String algorithmName)
analysisId
- Unique id of the analysisalgorithmName
- Algorithm nameMLHyperParameter
objectspublic javax.ws.rs.core.Response addDefaultsIntoHyperParameters(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getAllAnalyses()
MLAnalysis
objectspublic javax.ws.rs.core.Response getAllModelsOfAnalysis(long analysisId)
analysisId
- Unique id of the analysisMLModelData
objectspublic javax.ws.rs.core.Response deleteAnalysis(long analysisId)
analysisId
- Unique id of the analysispublic javax.ws.rs.core.Response getUserVariable(long analysisId)
public javax.ws.rs.core.Response getProductVariable(long analysisId)
public javax.ws.rs.core.Response getRatingVariable(long analysisId)
public javax.ws.rs.core.Response getObservationList(long analysisId)
Copyright © 2015 WSO2, Inc.. All Rights Reserved.