public interface DatabaseService
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAnalysis(int tenantId,
String userName,
long analysisId) |
void |
deleteAnalysis(int tenantId,
String userName,
String analysisName)
Delete the analysis
|
void |
deleteDataset(long datasetId)
Delete the dataset schema
|
void |
deleteDatasetVersion(long datasetVersionId)
Delete the dataset version
|
void |
deleteModel(int tenantId,
String userName,
long modelId)
Delete the model from the database
|
void |
deleteProject(int tenantId,
String userName,
String projectName)
Delete the project
|
double |
getADoubleModelConfiguration(long analysisId,
String configKey)
Get a double value of model configuration
|
List<org.wso2.carbon.ml.commons.domain.MLAnalysis> |
getAllAnalyses(int tenantId,
String userName)
Get all the analyses of the given tenant and username
|
List<org.wso2.carbon.ml.commons.domain.MLAnalysis> |
getAllAnalysesOfProject(int tenantId,
String userName,
long projectId)
Get all the analyses of a project.
|
List<org.wso2.carbon.ml.commons.domain.MLDataset> |
getAllDatasets(int tenantId,
String userName)
Get all the dataset schemas of the given tenant and username
|
List<org.wso2.carbon.ml.commons.domain.MLModelNew> |
getAllModels(int tenantId,
String userName)
Get all models of the given tenant and username
|
List<org.wso2.carbon.ml.commons.domain.MLModelNew> |
getAllModels(int tenantId,
String userName,
long analysisId)
Get all models of a given analysis
|
List<org.wso2.carbon.ml.commons.domain.MLProject> |
getAllProjects(int tenantId,
String userName)
Get all the projects of the given tenant and username
|
List<org.wso2.carbon.ml.commons.domain.MLDatasetVersion> |
getAllVersionsetsOfDataset(int tenantId,
String userName,
long datasetId)
Get all the dataset-versions of the given dataset schema
|
org.wso2.carbon.ml.commons.domain.MLAnalysis |
getAnalysis(int tenantId,
String userName,
long analysisId) |
org.wso2.carbon.ml.commons.domain.MLAnalysis |
getAnalysis(int tenantId,
String userName,
String analysisName)
Get the Analysis having the given analysis name
|
long |
getAnalysisId(int tenantId,
String userName,
String analysisName)
Get the analysis Id of a given tenant id, username, analysis combination
|
org.wso2.carbon.ml.commons.domain.MLAnalysis |
getAnalysisOfProject(int tenantId,
String userName,
long projectId,
String analysisName)
Returns an analysis of a given name in a given project.
|
String |
getAStringModelConfiguration(long analysisId,
String configKey)
Get a string value of model configuration
|
List<Object> |
getChartSamplePoints(int tenantId,
String user,
long versionsetId,
String featureListString)
Returns sample data for selected features
|
org.wso2.carbon.ml.commons.domain.MLDataset |
getDataset(int tenantId,
String userName,
long datasetId)
Get the dataset schema identified by the given dataset schema id
|
long |
getDatasetId(long datasetVersionId)
Get the dataset-schema id of the dataset-version
|
long |
getDatasetId(String datasetName,
int tenantId,
String userName) |
long |
getDatasetSchemaIdFromAnalysisId(long analysisId)
Get the dataset schema id of a given analysis
|
String |
getDatasetUri(long datasetId)
Retrieves the path of the value-set having the given ID, from the
database.
|
long |
getDatasetVersionId(long datasetId,
String datasetVersion) |
long |
getDatasetVersionId(long datasetId,
String version,
int tenantId,
String userName)
Get the unique identifier of the dataset version given the dataset schema and the version
|
long |
getDatasetVersionIdOfModel(long modelId)
Get the id of the dataset-version used to generate the model
|
String |
getDatasetVersionUri(long datasetVersionId)
Retrieves the path of the value-set having the given ID, from the
database.
|
String |
getDataTypeOfModel(long modelId)
Get the data type of the model
|
List<org.wso2.carbon.ml.commons.domain.FeatureSummary> |
getDefaultFeatures(long datasetVersionId,
int startIndex,
int numberOfFeatures)
This method extracts and retures default features available in a given dataset version
|
int |
getFeatureCount(long datasetVersionId)
Returns the number of features of a given data-set version
|
List<String> |
getFeatureNames(long modelId)
Returns the names of the features, belongs to a particular data-type
(Categorical/Numerical), of the work-flow.
|
List<String> |
getFeatureNames(String analysisId)
Returns all the feature names of an analysis.
|
List<String> |
getFeatureNames(String analysisId,
String featureType)
Returns the names of the features, belongs to a particular type
(Categorical/Numerical), of the analysis.
|
String |
getFeatureNamesInOrder(long datasetId,
String columnSeparator) |
String |
getFeatureNamesInOrderUsingDatasetVersion(long datasetVersionId,
String columnSeparator) |
List<org.wso2.carbon.ml.commons.domain.FeatureSummary> |
getFeatures(int tenantId,
String userName,
long analysisId,
int startIndex,
int numberOfFeatures)
Returns a set of features in a given range, from the alphabetically ordered set
of features, of a data-set.
|
String |
getFeatureType(long modelId,
String featureName)
Retrieves the type of a feature.
|
List<org.wso2.carbon.ml.commons.domain.MLHyperParameter> |
getHyperParametersOfModel(long analysisId,
String algorithmName)
Get the list of Hyper-parameters of the model
|
Map<String,String> |
getHyperParametersOfModelAsMap(long modelId)
Get the Hyper-parameters of the model as a Map
|
org.wso2.carbon.ml.commons.domain.MLModelNew |
getModel(int tenantId,
String userName,
long modelId)
Get the model name identified by the given model id
|
org.wso2.carbon.ml.commons.domain.MLModelNew |
getModel(int tenantId,
String userName,
String modelName)
Get the Model having the given model name
|
String |
getModelConfigurationValue(long modelId,
String name) |
long |
getModelId(int tenantId,
String userName,
String modelName)
Get the Id of the model
|
org.wso2.carbon.ml.commons.domain.MLStorage |
getModelStorage(long modelId)
Get the Model storage of the model
|
org.wso2.carbon.ml.commons.domain.ModelSummary |
getModelSummary(long modelId)
Retrieve summary of the model
|
org.wso2.carbon.ml.commons.domain.MLProject |
getProject(int tenantId,
String userName,
String projectName)
Get the project having the given project name
|
long |
getProjectId(int tenantId,
String userName,
String projectName)
Get the unique Id of the project
|
List<Object> |
getScatterPlotPoints(org.wso2.carbon.ml.commons.domain.ScatterPlotPoints scatterPlotPoints)
Returns data points of the selected sample as coordinates of three
features, needed for the scatter plot.
|
String |
getSummaryStats(int tenantId,
String user,
long analysisId,
String featureName)
Retrieve and returns the Summary statistics for a given feature of a
given data-set version, from the database
|
org.wso2.carbon.ml.commons.domain.MLDatasetVersion |
getVersionset(int tenantId,
String userName,
long datasetVersionId)
Get the dataset-version identified by the given dataset-version id
|
long |
getVersionsetId(String datasetVersionName,
int tenantId)
Get the dataset-version id
|
org.wso2.carbon.ml.commons.domain.Workflow |
getWorkflow(long analysisId)
Get the workflow of the analysis
|
void |
insertAnalysis(org.wso2.carbon.ml.commons.domain.MLAnalysis analysis)
Insert a new analysis into the database
|
void |
insertDatasetSchema(org.wso2.carbon.ml.commons.domain.MLDataset dataset)
Insert a new dataset-schema into the database
|
void |
insertDatasetVersion(org.wso2.carbon.ml.commons.domain.MLDatasetVersion datasetVersion)
Insert a new dataset-version into the database
|
void |
insertDataSource(long datasetVersionId,
int tenantId,
String username,
String key,
String value)
Insert data source to the database
|
void |
insertDefaultsIntoFeatureCustomized(long analysisId,
org.wso2.carbon.ml.commons.domain.MLCustomizedFeature customizedValues)
Insert the default feature attributes into the relevant customized feature attributes of a given analysis
|
void |
insertFeatureCustomized(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLCustomizedFeature> customizedFeatures,
int tenantId,
String userName)
Insert a list of Customized-Features into the database
|
void |
insertFeatureCustomized(long analysisId,
org.wso2.carbon.ml.commons.domain.MLCustomizedFeature customizedFeature)
Insert cutomized feature to the database
|
void |
insertHyperParameters(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLHyperParameter> hyperParameters,
String algorithmName)
Insert a list of HyperParameters into the database
|
void |
insertModel(org.wso2.carbon.ml.commons.domain.MLModelNew model)
Insert a new model into the database
|
void |
insertModelConfigurations(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLModelConfiguration> modelConfigs)
Insert a list of ModelConfiguration into the database
|
void |
insertProject(org.wso2.carbon.ml.commons.domain.MLProject project)
Insert a new project to the database
|
boolean |
isDatasetNameExist(int tenantId,
String userName,
String datasetName)
Check whether the given database name exists in the given tenantId
|
boolean |
isDatasetVersionExist(int tenantId,
String datasetName,
String datasetVersion)
Check whether the given database version exists for the given data-set name and tenant ID
|
boolean |
isValidModelId(int tenantId,
String userName,
long modelId)
Check whether the given modelId is valid
|
void |
updateDataType(String featureName,
long modelId,
String featureType)
Update the data type of a given feature.
|
void |
updateFeatureInclusion(String featureName,
long modelId,
boolean isInput)
Change whether a feature should be included as an input or not
|
void |
updateImputeOption(String featureName,
long modelId,
String imputeOption)
Update the impute method option of a given feature.
|
void |
updateModelError(long modelId,
String error) |
void |
updateModelStatus(long modelId,
String status) |
void |
updateModelStorage(long modelId,
String storageType,
String location)
Update the storage details of a model
|
void |
updateModelSummary(long modelId,
org.wso2.carbon.ml.commons.domain.ModelSummary modelSummary)
Update the model summary of a given model
|
void |
updateSummaryStatistics(long datasetSchemaId,
long datasetVersionId,
org.wso2.carbon.ml.commons.domain.SummaryStats summaryStats)
Update the database with the summary stats of data-set-version
|
void |
updateVersionsetSample(long datasetVesionId,
org.wso2.carbon.ml.commons.domain.SamplePoints valueSetSample)
Update the value-set table with a data-set sample.
|
void insertDatasetSchema(org.wso2.carbon.ml.commons.domain.MLDataset dataset)
throws DatabaseHandlerException
dataset - MLDataset to be insertedDatabaseHandlerExceptionvoid insertDatasetVersion(org.wso2.carbon.ml.commons.domain.MLDatasetVersion datasetVersion)
throws DatabaseHandlerException
datasetVersion - MLDatasetVersion to be insertedDatabaseHandlerExceptionvoid insertProject(org.wso2.carbon.ml.commons.domain.MLProject project)
throws DatabaseHandlerException
project - MLProject to be insertedDatabaseHandlerExceptionvoid insertAnalysis(org.wso2.carbon.ml.commons.domain.MLAnalysis analysis)
throws DatabaseHandlerException
analysis - MLAnalysis to be insertedDatabaseHandlerExceptionvoid insertModel(org.wso2.carbon.ml.commons.domain.MLModelNew model)
throws DatabaseHandlerException
model - MLModelNew to be insertedDatabaseHandlerExceptionString getDatasetVersionUri(long datasetVersionId) throws DatabaseHandlerException
datasetVersionId - Unique Identifier of the dataset-versionDatabaseHandlerExceptionString getDatasetUri(long datasetId) throws DatabaseHandlerException
datasetId - Unique Identifier of the datasetDatabaseHandlerExceptionlong getDatasetId(String datasetName, int tenantId, String userName) throws DatabaseHandlerException
datasetName - Name of the data-settenantId - Tenant IdDatabaseHandlerExceptionlong getVersionsetId(String datasetVersionName, int tenantId) throws DatabaseHandlerException
datasetVersionName - name of the dataset-versiontenantId - tenant idDatabaseHandlerExceptionboolean isDatasetNameExist(int tenantId,
String userName,
String datasetName)
throws DatabaseHandlerException
tenantId - tenant IddatasetName - name of the data-setDatabaseHandlerExceptionboolean isDatasetVersionExist(int tenantId,
String datasetName,
String datasetVersion)
throws DatabaseHandlerException
tenantId - tenantIddatasetName - name of the data-setdatasetVersion - version of the data-setDatabaseHandlerExceptionlong getDatasetVersionId(long datasetId,
String datasetVersion)
throws DatabaseHandlerException
datasetId - datasetVersion - DatabaseHandlerExceptionvoid updateVersionsetSample(long datasetVesionId,
org.wso2.carbon.ml.commons.domain.SamplePoints valueSetSample)
throws DatabaseHandlerException
datasetVesionId - Unique Identifier of the value-setvalueSetSample - SamplePoints object of the value-setDatabaseHandlerExceptionList<Object> getScatterPlotPoints(org.wso2.carbon.ml.commons.domain.ScatterPlotPoints scatterPlotPoints) throws DatabaseHandlerException
scatterPlotPoints - TODODatabaseHandlerExceptionList<Object> getChartSamplePoints(int tenantId, String user, long versionsetId, String featureListString) throws DatabaseHandlerException
versionsetId - Unique Identifier of the value-setfeatureListString - String containing feature name listDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.FeatureSummary> getFeatures(int tenantId, String userName, long analysisId, int startIndex, int numberOfFeatures) throws DatabaseHandlerException
datasetID - Unique Identifier of the data-setstartIndex - Starting index of the set of features needednumberOfFeatures - Number of features needed, from the starting indexDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.FeatureSummary> getDefaultFeatures(long datasetVersionId, int startIndex, int numberOfFeatures) throws DatabaseHandlerException
datasetVersionId - The dataset varsion id associated with this dataset versionDatabaseHandlerExceptionList<String> getFeatureNames(long modelId) throws DatabaseHandlerException
modelId - Unique identifier of the current modelDatabaseHandlerExceptionList<String> getFeatureNames(String analysisId, String featureType) throws DatabaseHandlerException
analysisId - Unique identifier of the current analysisfeatureType - Type of the featureDatabaseHandlerExceptionList<String> getFeatureNames(String analysisId) throws DatabaseHandlerException
analysisId - Unique identifier of the current analysisDatabaseHandlerExceptionString getSummaryStats(int tenantId, String user, long analysisId, String featureName) throws DatabaseHandlerException
analysisId - Unique identifier of the data-setfeatureName - Name of the feature of which summary statistics are neededDatabaseHandlerExceptionint getFeatureCount(long datasetVersionId)
throws DatabaseHandlerException
datasetVersionId - Unique identifier of the data-set versionDatabaseHandlerExceptionvoid updateSummaryStatistics(long datasetSchemaId,
long datasetVersionId,
org.wso2.carbon.ml.commons.domain.SummaryStats summaryStats)
throws DatabaseHandlerException
datasetVersionId - Unique Id of the data-set-versionsummaryStats - Summary statsDatabaseHandlerExceptionString getFeatureType(long modelId, String featureName) throws DatabaseHandlerException
modelId - Unique identifier of the modelfeatureName - Name of the featureDatabaseHandlerExceptionvoid updateFeatureInclusion(String featureName, long modelId, boolean isInput) throws DatabaseHandlerException
featureName - Name of the feature to be updatedmodelId - Unique identifier of the current modelisInput - Boolean value indicating whether the feature is an input or notDatabaseHandlerExceptionvoid updateImputeOption(String featureName, long modelId, String imputeOption) throws DatabaseHandlerException
featureName - Name of the feature to be updatedmodelId - Unique identifier of the current modelimputeOption - Updated impute option of the featureDatabaseHandlerExceptionvoid updateDataType(String featureName, long modelId, String featureType) throws DatabaseHandlerException
featureName - Name of the feature to be updatedmodelId - Unique identifier of the current modelfeatureType - Updated type of the featureDatabaseHandlerExceptionlong getProjectId(int tenantId,
String userName,
String projectName)
throws DatabaseHandlerException
tenantId - tenant IduserName - username of the projectprojectName - name of the projectDatabaseHandlerExceptionvoid deleteProject(int tenantId,
String userName,
String projectName)
throws DatabaseHandlerException
tenantId - userName - projectName - DatabaseHandlerExceptionlong getAnalysisId(int tenantId,
String userName,
String analysisName)
throws DatabaseHandlerException
tenantId - userName - analysisName - DatabaseHandlerExceptionlong getModelId(int tenantId,
String userName,
String modelName)
throws DatabaseHandlerException
tenantId - Tenant IduserName - UsernamemodelName - Model nameDatabaseHandlerExceptionvoid deleteAnalysis(int tenantId,
String userName,
String analysisName)
throws DatabaseHandlerException
tenantId - userName - analysisName - DatabaseHandlerExceptionvoid insertFeatureCustomized(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLCustomizedFeature> customizedFeatures,
int tenantId,
String userName)
throws DatabaseHandlerException
analysisId - Analysis IdcustomizedFeatures - MLCustomizedFeature listtenantId - Tenant IduserName - UsernameDatabaseHandlerExceptionvoid insertModelConfigurations(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLModelConfiguration> modelConfigs)
throws DatabaseHandlerException
analysisId - Analysis IdmodelConfigs - MLModelConfiguration listDatabaseHandlerExceptionvoid insertHyperParameters(long analysisId,
List<org.wso2.carbon.ml.commons.domain.MLHyperParameter> hyperParameters,
String algorithmName)
throws DatabaseHandlerException
analysisId - Analysis IdhyperParameters - MLHyperParameter listalgorithmName - Algorithm nameDatabaseHandlerExceptionString getModelConfigurationValue(long modelId, String name) throws DatabaseHandlerException
modelId - name - DatabaseHandlerExceptionvoid updateModelSummary(long modelId,
org.wso2.carbon.ml.commons.domain.ModelSummary modelSummary)
throws DatabaseHandlerException
modelId - model idmodelSummary - ModelSummaryDatabaseHandlerExceptionvoid updateModelStorage(long modelId,
String storageType,
String location)
throws DatabaseHandlerException
modelId - Model IdstorageType - Storage typelocation - Storage locationDatabaseHandlerExceptionboolean isValidModelId(int tenantId,
String userName,
long modelId)
throws DatabaseHandlerException
tenantId - userName - modelId - DatabaseHandlerExceptionvoid insertFeatureCustomized(long analysisId,
org.wso2.carbon.ml.commons.domain.MLCustomizedFeature customizedFeature)
throws DatabaseHandlerException
analysisId - analysis idcustomizedFeature - customized featureDatabaseHandlerExceptionlong getDatasetVersionIdOfModel(long modelId)
throws DatabaseHandlerException
modelId - unique id of the modelDatabaseHandlerExceptionvoid insertDataSource(long datasetVersionId,
int tenantId,
String username,
String key,
String value)
throws DatabaseHandlerException
datasetVersionId - unique id of the dataset-versiontenantId - tenant idusername - usernamekey - keyvalue - valueDatabaseHandlerExceptionlong getDatasetId(long datasetVersionId)
throws DatabaseHandlerException
datasetVersionId - unique id of the dataset versionDatabaseHandlerExceptionString getDataTypeOfModel(long modelId) throws DatabaseHandlerException
modelId - unique id of the modelDatabaseHandlerExceptionString getAStringModelConfiguration(long analysisId, String configKey) throws DatabaseHandlerException
analysisId - unique id of the analysisconfigKey - model configuration keyDatabaseHandlerExceptiondouble getADoubleModelConfiguration(long analysisId,
String configKey)
throws DatabaseHandlerException
analysisId - unique id of the analysisconfigKey - model configuration keyDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.MLHyperParameter> getHyperParametersOfModel(long analysisId, String algorithmName) throws DatabaseHandlerException
analysisId - Unique ID of the analysisalgorithmName - Algorithm nameDatabaseHandlerExceptionMap<String,String> getHyperParametersOfModelAsMap(long modelId) throws DatabaseHandlerException
modelId - unique id of the modelDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.Workflow getWorkflow(long analysisId)
throws DatabaseHandlerException
analysisId - unique id of the analysisDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLStorage getModelStorage(long modelId)
throws DatabaseHandlerException
modelId - unique id of the modelDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLProject getProject(int tenantId,
String userName,
String projectName)
throws DatabaseHandlerException
tenantId - tenant iduserName - usernameprojectName - project nameDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.MLProject> getAllProjects(int tenantId, String userName) throws DatabaseHandlerException
tenantId - tenant iduserName - usernameDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLAnalysis getAnalysis(int tenantId,
String userName,
String analysisName)
throws DatabaseHandlerException
tenantId - tenant iduserName - usernameanalysisName - analysis nameDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.MLAnalysis> getAllAnalyses(int tenantId, String userName) throws DatabaseHandlerException
tenantId - tenant iduserName - usernameDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLModelNew getModel(int tenantId,
String userName,
String modelName)
throws DatabaseHandlerException
tenantId - tenant iduserName - usernamemodelName - model nameDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLModelNew getModel(int tenantId,
String userName,
long modelId)
throws DatabaseHandlerException
tenantId - tenant iduserName - usernamemodelId - model idDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.MLModelNew> getAllModels(int tenantId, String userName) throws DatabaseHandlerException
tenantId - tenant iduserName - usernameDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.MLDatasetVersion> getAllVersionsetsOfDataset(int tenantId, String userName, long datasetId) throws DatabaseHandlerException
tenantId - tenant iduserName - usernamedatasetId - dataset schema idDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.MLDataset> getAllDatasets(int tenantId, String userName) throws DatabaseHandlerException
tenantId - tenant iduserName - usernameDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLDataset getDataset(int tenantId,
String userName,
long datasetId)
throws DatabaseHandlerException
tenantId - tenant iduserName - usernamedatasetId - dataset schema idDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLDatasetVersion getVersionset(int tenantId,
String userName,
long datasetVersionId)
throws DatabaseHandlerException
tenantId - tenant iduserName - usernamedatasetVersionId - dataset-version idDatabaseHandlerExceptionlong getDatasetVersionId(long datasetId,
String version,
int tenantId,
String userName)
throws DatabaseHandlerException
datasetId - dataset schema idversion - versiontenantId - tenant iduserName - usernameDatabaseHandlerExceptionvoid insertDefaultsIntoFeatureCustomized(long analysisId,
org.wso2.carbon.ml.commons.domain.MLCustomizedFeature customizedValues)
throws DatabaseHandlerException
analysisId - unique id of the analysiscustomizedValues - customized featureDatabaseHandlerExceptionlong getDatasetSchemaIdFromAnalysisId(long analysisId)
throws DatabaseHandlerException
analysisId - Unique id of the analysisDatabaseHandlerExceptionvoid deleteModel(int tenantId,
String userName,
long modelId)
throws DatabaseHandlerException
tenantId - tenant iduserName - usernamemodelId - model idDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.MLAnalysis> getAllAnalysesOfProject(int tenantId, String userName, long projectId) throws DatabaseHandlerException
tenantId - tenant iduserName - user nameprojectId - project idMLAnalysisDatabaseHandlerExceptionList<org.wso2.carbon.ml.commons.domain.MLModelNew> getAllModels(int tenantId, String userName, long analysisId) throws DatabaseHandlerException
tenantId - userName - analysisId - DatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.ModelSummary getModelSummary(long modelId)
throws DatabaseHandlerException
modelId - ID of the modelDatabaseHandlerExceptionvoid updateModelStatus(long modelId,
String status)
throws DatabaseHandlerException
DatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLAnalysis getAnalysis(int tenantId,
String userName,
long analysisId)
throws DatabaseHandlerException
DatabaseHandlerExceptionvoid deleteDataset(long datasetId)
throws DatabaseHandlerException
datasetId - unique id of dataset schemaDatabaseHandlerExceptionvoid deleteDatasetVersion(long datasetVersionId)
throws DatabaseHandlerException
datasetVersionId - unique id of dataset versionDatabaseHandlerExceptionorg.wso2.carbon.ml.commons.domain.MLAnalysis getAnalysisOfProject(int tenantId,
String userName,
long projectId,
String analysisName)
throws DatabaseHandlerException
DatabaseHandlerExceptionvoid deleteAnalysis(int tenantId,
String userName,
long analysisId)
throws DatabaseHandlerException
DatabaseHandlerExceptionvoid updateModelError(long modelId,
String error)
throws DatabaseHandlerException
DatabaseHandlerExceptionString getFeatureNamesInOrder(long datasetId, String columnSeparator) throws DatabaseHandlerException
DatabaseHandlerExceptionString getFeatureNamesInOrderUsingDatasetVersion(long datasetVersionId, String columnSeparator) throws DatabaseHandlerException
DatabaseHandlerExceptionCopyright © 2015 WSO2, Inc.. All rights reserved.