public interface OnlineExperimentBuilder extends BaseCometBuilder<OnlineExperiment>
OnlineExperiment builder. This factory is preferred method to create
properly initialized instance of the OnlineExperiment.| Modifier and Type | Method and Description |
|---|---|
OnlineExperimentBuilder |
interceptStdout()
Turn on intercept of stdout and stderr and the logging of both in Comet.
|
OnlineExperimentBuilder |
withExistingExperimentKey(String experimentKey)
Allows to continue a previous experiment by providing the key of the existing experiment.
|
OnlineExperimentBuilder |
withExperimentName(String experimentName)
Sets the name the experiment.
|
OnlineExperimentBuilder |
withMaxAuthRetries(int maxAuthRetries)
Set the max auth retry attempts.
|
OnlineExperimentBuilder |
withProjectName(String projectName)
Set project name for the experiment.
|
OnlineExperimentBuilder |
withUrlOverride(String urlOverride)
Set the URL of your comet installation.
|
OnlineExperimentBuilder |
withWorkspace(String workspace)
Set workspace for the project.
|
build, withApiKey, withConfigOverride, withLoggerOnlineExperimentBuilder withProjectName(String projectName)
projectName - The project under which the experiment should runOnlineExperimentBuilder withWorkspace(String workspace)
workspace - The workspace under which the experiment should be run.OnlineExperimentBuilder withMaxAuthRetries(int maxAuthRetries)
maxAuthRetries - number of times to try auth calls on experiment creationOnlineExperimentBuilder withUrlOverride(String urlOverride)
urlOverride - full url of comet installation. Default is https://www.comet.mlOnlineExperimentBuilder withExperimentName(String experimentName)
experimentName - name to be applied to the experimentOnlineExperimentBuilder withExistingExperimentKey(String experimentKey)
experimentKey - The experiment key for the experiment that is being continuedOnlineExperimentBuilder interceptStdout()
Copyright © 2022. All rights reserved.