public class MLDBUtil extends Object
Constructor and Description |
---|
MLDBUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getDatasetStatus(List<org.wso2.carbon.ml.commons.domain.MLDatasetVersion> datasetVersions)
Return dataset status by iterating through all the given versions
|
static org.wso2.carbon.ml.commons.domain.ModelSummary |
getModelSummaryFromInputStream(InputStream data)
Deserialize ModelSummary from InputStream
|
static org.wso2.carbon.ml.commons.domain.SamplePoints |
getSamplePointsFromInputStream(InputStream data)
Deserialize SamplePoints object from InputStream
|
public static org.wso2.carbon.ml.commons.domain.SamplePoints getSamplePointsFromInputStream(InputStream data) throws IOException, ClassNotFoundException
data
- Data input streamSamplePoints
objectIOException
ClassNotFoundException
public static org.wso2.carbon.ml.commons.domain.ModelSummary getModelSummaryFromInputStream(InputStream data) throws IOException, ClassNotFoundException
data
- Data input streamModelSummary
objectIOException
ClassNotFoundException
Copyright © 2016 WSO2, Inc.. All Rights Reserved.