public class OpenmlConnector extends OpenmlBasicConnector
api_key, API_PART, OPENML_URL, verboseLevel
Constructor and Description |
---|
OpenmlConnector() |
OpenmlConnector(String api_key) |
OpenmlConnector(String url,
String api_key) |
Modifier and Type | Method and Description |
---|---|
int |
dataFeaturesUpload(DataFeature features)
Uploads data features of a given dataset (requires admin account)
|
int |
dataQualitiesUpload(DataQuality qualities)
Uploads data qualities of a given dataset (requires admin account)
|
int |
dataUpload(DataSetDescription dsd,
File dataset)
Uploads a new dataset
|
int |
flowUpload(Flow flow)
Uploads a flow
|
int |
runEvaluate(RunEvaluation runEvaluation)
Uploads the evaluation of a run (admin rights required)
|
int |
runTraceUpload(RunTrace trace)
Uploads trace results of a run.
|
int |
runUpload(Run run,
Map<String,File> outputFiles)
Uploads a run
|
int |
studyUpload(Study study)
Uploads study
|
int |
taskUpload(TaskInputs task)
Uploads a task
|
dataDelete, dataFeatures, dataFeaturesUpload, dataGet, dataList, dataQualities, dataQualitiesList, dataqualitiesUnprocessed, dataQualitiesUpload, dataReset, datasetGet, datasetGetCsv, dataStatusUpdate, dataTag, dataUnprocessed, dataUntag, dataUpload, estimationProcedureGet, estimationProcedureList, evaluationList, evaluationRequest, fileUpload, flowDelete, flowExists, flowForceDelete, flowGet, flowTag, flowUntag, flowUpload, getApiKey, getApiUrl, getOpenmlFileUrl, getOpenmlFileUrl, getVerboselevel, getXSD, runDelete, runEvaluate, runGet, runList, runReset, runTag, runTrace, runTraceUpload, runUntag, runUpload, setApiKey, setupDelete, setupDifferences, setupDifferences, setupExists, setupParameters, setupTag, setupUntag, setVerboseLevel, studyAttach, studyDetach, studyGet, studyGet, studyGet, studyList, studyUpload, taskDelete, taskGet, taskInputs, taskList, taskSplitsGet, taskTag, taskUntag, taskUpload
public OpenmlConnector()
public OpenmlConnector(String api_key)
public int dataUpload(DataSetDescription dsd, File dataset) throws Exception
dsd
- - object describing the datasetdataset
- - file representing the dataset (arff). optional. In case it
is not provided, the dataset description should have an URL
providedException
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)public int dataFeaturesUpload(DataFeature features) throws Exception
features
- - object describing the featuresException
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)public int dataQualitiesUpload(DataQuality qualities) throws Exception
qualities
- - object describing the qualities (or meta-features)Exception
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)public int flowUpload(Flow flow) throws Exception
flow
- - An XML file describing the implementation. See documentation
at openml.org.Exception
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)public int runEvaluate(RunEvaluation runEvaluation) throws Exception
runEvaluation
- - description file (complying to xsd)Exception
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)public int runUpload(Run run, Map<String,File> outputFiles) throws Exception
run
- - An XML file describing the run. See documentation at
openml.org.outputFiles
- - A Map>String,File< containing all relevant output files. Key
"predictions" usually contains the predictions that were
generated by this run.Exception
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)public int runTraceUpload(RunTrace trace) throws Exception
trace
- - the trace descriptionException
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)public int studyUpload(Study study) throws Exception
study
- - object describing the studyException
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)public int taskUpload(TaskInputs task) throws Exception
task
- - task description.Exception
- - Can be: IOException (problem with connection, server),
ApiException (contains error code, see OpenML
documentation)Copyright © 2019 Leiden University, NL. All rights reserved.