| Package | Description |
|---|---|
| ml.comet.experiment |
Contains all classes to create various types of Comet Experiments.
|
| ml.comet.experiment.artifact |
Contains all interfaces and classes allowing to work with Comet Artifacts.
|
| ml.comet.experiment.impl |
Contains implementations of public interfaces of the Comet experiment's API.
|
| Modifier and Type | Method and Description |
|---|---|
LoggedArtifact |
Experiment.getArtifact(String name)
Allows looking for logged artifact using provided search parameters.
|
LoggedArtifact |
Experiment.getArtifact(String name,
String workspace)
Allows looking for logged artifact using provided search parameters.
|
LoggedArtifact |
Experiment.getArtifact(String name,
String workspace,
String versionOrAlias)
Allows looking for logged artifact using provided search parameters.
|
CompletableFuture<LoggedArtifact> |
OnlineExperiment.logArtifact(Artifact artifact)
Logs an
Artifact object. |
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactAssetNotFoundException
Exception to be raised when specific asset of the Comet artifact was not found.
|
class |
ArtifactDownloadException
Exception to be thrown if artifact download failed.
|
class |
ArtifactNotFoundException
Exception to be raised if
Artifact is not found by the Comet backend. |
class |
ConflictingArtifactAssetNameException
Exception to be raised if logical name of the asset added to the
Artifact is not unique. |
class |
InvalidArtifactStateException
Exception to be raised if
Artifact is not closed or has no data. |
| Modifier and Type | Method and Description |
|---|---|
ArtifactAsset |
LoggedArtifactAsset.download(Path dir) |
DownloadedArtifact |
LoggedArtifact.download(Path folder) |
ArtifactAsset |
LoggedArtifactAsset.download(Path dir,
AssetOverwriteStrategy overwriteStrategy) |
DownloadedArtifact |
LoggedArtifact.download(Path folder,
AssetOverwriteStrategy overwriteStrategy)
Download the current Artifact Version assets to a given directory.
|
ArtifactAsset |
LoggedArtifactAsset.download(Path dir,
Path file,
AssetOverwriteStrategy overwriteStrategy)
Downloads asset to the given directory.
|
LoggedArtifactAsset |
LoggedArtifact.getAsset(String assetLogicalPath)
Allows getting asset keyed by provided
logicalPath from the Comet backend. |
Collection<LoggedArtifactAsset> |
LoggedArtifact.getAssets()
Allows reading list of assets associated with this artifact from the Comet backend.
|
Collection<LoggedArtifactAsset> |
LoggedArtifact.getRemoteAssets()
Allows reading list of remote assets associated with this artifact from Comet backend.
|
InputStream |
LoggedArtifactAsset.openStream()
Opens a connection to this
LoggedArtifactAsset and returns an InputStream for reading from
this connection. |
void |
LoggedArtifactAsset.writeTo(OutputStream out)
Allows loading of asset bytes from Comet server and write to the provided
OutputStream. |
| Modifier and Type | Method and Description |
|---|---|
ArtifactAsset |
LoggedArtifactAssetImpl.download(Path dir) |
ArtifactAsset |
LoggedArtifactAssetImpl.download(Path dir,
AssetOverwriteStrategy overwriteStrategy) |
DownloadedArtifact |
LoggedArtifactImpl.download(@NonNull Path folder,
@NonNull AssetOverwriteStrategy overwriteStrategy) |
ArtifactAsset |
LoggedArtifactAssetImpl.download(@NonNull Path dir,
@NonNull Path file,
@NonNull AssetOverwriteStrategy overwriteStrategy) |
LoggedArtifactAsset |
LoggedArtifactImpl.getAsset(String assetLogicalPath) |
Collection<LoggedArtifactAsset> |
LoggedArtifactImpl.getAssets() |
Collection<LoggedArtifactAsset> |
LoggedArtifactImpl.getRemoteAssets() |
CompletableFuture<LoggedArtifact> |
OnlineExperimentImpl.logArtifact(Artifact artifact) |
InputStream |
LoggedArtifactAssetImpl.openStream() |
void |
LoggedArtifactAssetImpl.writeTo(OutputStream out) |
Copyright © 2022. All rights reserved.