mlflow-hs-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

MLFlow.DataStructures

Description

MLFlow Bindings

Synopsis

Documentation

data Tag Source #

Tags

Constructors

Tag 

Fields

Instances

Instances details
Show Tag Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

FromJSON Tag Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser Tag

parseJSONList :: Value -> Parser [Tag]

ToJSON Tag Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: Tag -> Value

toEncoding :: Tag -> Encoding

toJSONList :: [Tag] -> Value

toEncodingList :: [Tag] -> Encoding

data LifeCycleStage Source #

Current Life Cycle Stage of the Experiment

Constructors

Active 
Deleted 

type ExperimentTag = Tag Source #

Tag for an experiment.

data Experiment Source #

Experiment

Constructors

Experiment 

Fields

Instances

Instances details
Show Experiment Source # 
Instance details

Defined in MLFlow.DataStructures

Generic Experiment Source # 
Instance details

Defined in MLFlow.DataStructures

Associated Types

type Rep Experiment :: Type -> Type #

FromJSON Experiment Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser Experiment

parseJSONList :: Value -> Parser [Experiment]

ToJSON Experiment Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: Experiment -> Value

toEncoding :: Experiment -> Encoding

toJSONList :: [Experiment] -> Value

toEncodingList :: [Experiment] -> Encoding

type Rep Experiment Source # 
Instance details

Defined in MLFlow.DataStructures

type Rep Experiment = D1 ('MetaData "Experiment" "MLFlow.DataStructures" "mlflow-hs-0.1.0.0-B5l4ZQ2B2U58JsuLAnyJy6" 'False) (C1 ('MetaCons "Experiment" 'PrefixI 'True) ((S1 ('MetaSel ('Just "experimentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "experimentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "artifactLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath))) :*: ((S1 ('MetaSel ('Just "lifecycleStage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LifeCycleStage) :*: S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "experimentTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [ExperimentTag]))))))

data FileInfo Source #

Metadata of a single artifact file or directory.

Constructors

FileInfo 

Fields

  • path :: FilePath

    Path relative to the root artifact directory run.

  • isDir :: Bool

    Whether the path is a directory.

  • fileSize :: Int

    Size in bytes. Unset for directories.

Instances

Instances details
Show FileInfo Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON FileInfo Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser FileInfo

parseJSONList :: Value -> Parser [FileInfo]

ToJSON FileInfo Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: FileInfo -> Value

toEncoding :: FileInfo -> Encoding

toJSONList :: [FileInfo] -> Value

toEncodingList :: [FileInfo] -> Encoding

data Metric Source #

Metric associated with a run, represented as a key-value pair.

Constructors

Metric 

Fields

Instances

Instances details
Show Metric Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON Metric Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser Metric

parseJSONList :: Value -> Parser [Metric]

ToJSON Metric Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: Metric -> Value

toEncoding :: Metric -> Encoding

toJSONList :: [Metric] -> Value

toEncodingList :: [Metric] -> Encoding

data MetricLogger Source #

Constructors

MetricLogger 

Fields

Instances

Instances details
Show MetricLogger Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON MetricLogger Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser MetricLogger

parseJSONList :: Value -> Parser [MetricLogger]

ToJSON MetricLogger Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: MetricLogger -> Value

toEncoding :: MetricLogger -> Encoding

toJSONList :: [MetricLogger] -> Value

toEncodingList :: [MetricLogger] -> Encoding

data MetricBatchLogger Source #

Batch Logging

Constructors

MetricBatchLogger 

Fields

  • mblRunId :: String

    ID of the run to log under

  • mblMetrics :: [Metric]

    Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.

  • mblParams :: [Param]

    Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.

  • mblTags :: Maybe [Tag]

    Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.

Instances

Instances details
Show MetricBatchLogger Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON MetricBatchLogger Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser MetricBatchLogger

parseJSONList :: Value -> Parser [MetricBatchLogger]

ToJSON MetricBatchLogger Source # 
Instance details

Defined in MLFlow.DataStructures

type ModelVersionTag = Tag Source #

Tag for a model version.

data ModelVersionStatus Source #

Status of a Model

Constructors

PendingRegistration

Request to register a new model version is pending as server performs background tasks.

FailedRegistration

Request to register a new model version has failed.

Ready

Model version is ready for use.

data ModelVersion Source #

Model Version

Constructors

ModelVersion 

Fields

Instances

Instances details
Show ModelVersion Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON ModelVersion Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser ModelVersion

parseJSONList :: Value -> Parser [ModelVersion]

ToJSON ModelVersion Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: ModelVersion -> Value

toEncoding :: ModelVersion -> Encoding

toJSONList :: [ModelVersion] -> Value

toEncodingList :: [ModelVersion] -> Encoding

data Param Source #

Param associated with a run.

Constructors

Param 

Fields

Instances

Instances details
Show Param Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

showsPrec :: Int -> Param -> ShowS #

show :: Param -> String #

showList :: [Param] -> ShowS #

FromJSON Param Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser Param

parseJSONList :: Value -> Parser [Param]

ToJSON Param Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: Param -> Value

toEncoding :: Param -> Encoding

toJSONList :: [Param] -> Value

toEncodingList :: [Param] -> Encoding

type RegisteredModelTag = Tag Source #

Tag for a registered model

data RegisteredModel Source #

Constructors

RegisteredModel 

Fields

Instances

Instances details
Show RegisteredModel Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON RegisteredModel Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser RegisteredModel

parseJSONList :: Value -> Parser [RegisteredModel]

ToJSON RegisteredModel Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: RegisteredModel -> Value

toEncoding :: RegisteredModel -> Encoding

toJSONList :: [RegisteredModel] -> Value

toEncodingList :: [RegisteredModel] -> Encoding

type RunTag = Tag Source #

Tag for a run.

data RunStatus Source #

Status of a run.

Constructors

Running

Run has been initiated.

Scheduled

Run is scheduled to run at a later time.

Finished

Run has completed.

Failed

Run execution failed.

Killed

Run killed by user.

Instances

Instances details
Eq RunStatus Source # 
Instance details

Defined in MLFlow.DataStructures

Read RunStatus Source # 
Instance details

Defined in MLFlow.DataStructures

Show RunStatus Source # 
Instance details

Defined in MLFlow.DataStructures

data RunData Source #

Run data (metrics, params, and tags).

Constructors

RunData 

Fields

Instances

Instances details
Show RunData Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON RunData Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser RunData

parseJSONList :: Value -> Parser [RunData]

ToJSON RunData Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: RunData -> Value

toEncoding :: RunData -> Encoding

toJSONList :: [RunData] -> Value

toEncodingList :: [RunData] -> Encoding

data RunInfo Source #

Metadata of a single run.

Constructors

RunInfo 

Fields

Instances

Instances details
Show RunInfo Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON RunInfo Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser RunInfo

parseJSONList :: Value -> Parser [RunInfo]

ToJSON RunInfo Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: RunInfo -> Value

toEncoding :: RunInfo -> Encoding

toJSONList :: [RunInfo] -> Value

toEncodingList :: [RunInfo] -> Encoding

data Run Source #

A single run.

Constructors

Run 

Fields

Instances

Instances details
Show Run Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

showsPrec :: Int -> Run -> ShowS #

show :: Run -> String #

showList :: [Run] -> ShowS #

FromJSON Run Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser Run

parseJSONList :: Value -> Parser [Run]

ToJSON Run Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: Run -> Value

toEncoding :: Run -> Encoding

toJSONList :: [Run] -> Value

toEncodingList :: [Run] -> Encoding

data RunCreator Source #

Request Structure for Creating Runs

Constructors

RunCreator 

Fields

Instances

Instances details
Show RunCreator Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON RunCreator Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser RunCreator

parseJSONList :: Value -> Parser [RunCreator]

ToJSON RunCreator Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: RunCreator -> Value

toEncoding :: RunCreator -> Encoding

toJSONList :: [RunCreator] -> Value

toEncodingList :: [RunCreator] -> Encoding

data RunUpdater Source #

Request Structure for Updating Run metadata.

Constructors

RunUpdater 

Fields

Instances

Instances details
Show RunUpdater Source # 
Instance details

Defined in MLFlow.DataStructures

FromJSON RunUpdater Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

parseJSON :: Value -> Parser RunUpdater

parseJSONList :: Value -> Parser [RunUpdater]

ToJSON RunUpdater Source # 
Instance details

Defined in MLFlow.DataStructures

Methods

toJSON :: RunUpdater -> Value

toEncoding :: RunUpdater -> Encoding

toJSONList :: [RunUpdater] -> Value

toEncodingList :: [RunUpdater] -> Encoding

data ViewType Source #

View type for ListExperiments query.

Constructors

ActiveOnly

Default. Return only active experiments.

DeletedOnly

Return only deleted experiments.

All

Get all experiments.

Instances

Instances details
Read ViewType Source # 
Instance details

Defined in MLFlow.DataStructures

Show ViewType Source # 
Instance details

Defined in MLFlow.DataStructures