public final class ApiExperiment extends BaseExperiment
The ApiExperiment should be used to directly read experiment data from the Comet.ml server.
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiExperiment.ApiExperimentBuilderImpl
The builder to create properly configured ApiExperiment instance.
|
| Modifier and Type | Method and Description |
|---|---|
static ApiExperiment.ApiExperimentBuilderImpl |
builder(@NonNull String experimentKey)
Returns builder to create ApiExperiment instance.
|
protected Connection |
getConnection()
Returns connection associated with particular experiment.
|
String |
getContext()
Gets the current context as recorded in the Experiment object locally.
|
String |
getExperimentKey()
Get the experiment key returned by Comet.
|
Optional<String> |
getExperimentLink()
Get the experiment link returned by Comet.
|
String |
getExperimentName()
Get experiment name.
|
protected org.slf4j.Logger |
getLogger()
Returns logger instance associated with particular experiment.
|
String |
getProjectName()
Get project name of the experiment.
|
String |
getWorkspaceName()
Get workspace name of the experiment.
|
addTag, end, getAssetList, getGitMetadata, getGraph, getHtml, getLogOther, getMetadata, getMetrics, getOutput, getParameters, getTags, logCode, logCode, logEndTime, logGitMetadata, logGraph, logHtml, logMetric, logOther, logParameter, logStartTime, setExperimentName, uploadAsset, uploadAssetpublic static ApiExperiment.ApiExperimentBuilderImpl builder(@NonNull @NonNull String experimentKey)
experimentKey - the unique identifier of the existing experiment.protected Connection getConnection()
BaseExperimentgetConnection in class BaseExperimentprotected org.slf4j.Logger getLogger()
BaseExperimentgetLogger in class BaseExperimentpublic String getContext()
BaseExperimentgetContext in class BaseExperimentpublic String getWorkspaceName()
Experimentpublic String getProjectName()
Experimentpublic String getExperimentName()
Experimentpublic String getExperimentKey()
Experimentpublic Optional<String> getExperimentLink()
ExperimentCopyright © 2021. All rights reserved.