public class AnalysisApiV10 extends MLRestAPI
| Constructor and Description |
|---|
AnalysisApiV10() |
| 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 this analysis.
|
javax.ws.rs.core.Response |
addDefaultsIntoCustomizedFeatures(long analysisId,
org.wso2.carbon.ml.commons.domain.MLCustomizedFeature customizedValues)
load default features as customized features of this analysis.
|
javax.ws.rs.core.Response |
addDefaultsIntoHyperParameters(long analysisId)
loading default configurations as configurations (algorithm etc.) of this analysis.
|
javax.ws.rs.core.Response |
addHyperParameters(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLHyperParameter> hyperParameters,
String algorithmName)
Adding hyper parameters for the selected algorithm of this analysis.
|
javax.ws.rs.core.Response |
addModelConfiguration(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLModelConfiguration> modelConfigs)
Adding configurations (algorithm etc.) of this 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 |
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 a given analysis.
|
javax.ws.rs.core.Response |
getAnalysis(String analysisName)
Deprecated.
|
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-parameters 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 summarized 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 |
options()
HTTP Options method implementation for analysis API.
|
getTenantIDpublic javax.ws.rs.core.Response options()
public javax.ws.rs.core.Response createAnalysis(org.wso2.carbon.ml.commons.domain.MLAnalysis analysis)
public javax.ws.rs.core.Response addCustomizedFeatures(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLCustomizedFeature> customizedFeatures)
public javax.ws.rs.core.Response addDefaultsIntoCustomizedFeatures(long analysisId,
org.wso2.carbon.ml.commons.domain.MLCustomizedFeature customizedValues)
public javax.ws.rs.core.Response getSummarizedFeatures(long analysisId,
int limit,
int offset)
public javax.ws.rs.core.Response getfilteredFeatures(String analysisId, String featureType)
public javax.ws.rs.core.Response getAllFeatures(String analysisId)
public javax.ws.rs.core.Response getResponseVariable(long analysisId)
public javax.ws.rs.core.Response getAlgorithmName(long analysisId)
public javax.ws.rs.core.Response getTrainDataFraction(long analysisId)
public javax.ws.rs.core.Response getSummaryStatistics(long analysisId,
String featureName)
public javax.ws.rs.core.Response addModelConfiguration(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLModelConfiguration> modelConfigs)
public javax.ws.rs.core.Response addHyperParameters(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLHyperParameter> hyperParameters,
String algorithmName)
public javax.ws.rs.core.Response getHyperParameters(long analysisId,
String algorithmName)
public javax.ws.rs.core.Response addDefaultsIntoHyperParameters(long analysisId)
public javax.ws.rs.core.Response getAnalysis(String analysisName)
public javax.ws.rs.core.Response getAllAnalyses()
public javax.ws.rs.core.Response getAllModelsOfAnalysis(long analysisId)
public javax.ws.rs.core.Response deleteAnalysis(long analysisId)
Copyright © 2015 WSO2, Inc.. All rights reserved.