neptune-backend-0.3.0: Neptune Client
Copyright(c) Jiasen Wu 2020
LicenseBSD-3-Clause
Safe HaskellNone
LanguageHaskell2010

Neptune.Client

Description

 
Synopsis

Documentation

data Parameter Source #

Experiment's hyper-parameter. When creating an experiment, you could specify parameters to present in the web console.

createExperiment Source #

Arguments

:: HasCallStack 
=> NeptuneSession

Session

-> Maybe Text

Optional name (automatically assigned if Nothing)

-> Maybe Text

Optional description

-> [Parameter]

hyper-parameters

-> [(Text, Text)]

properties

-> [Text]

tags

-> IO Experiment 

Create an experiment

nlog Source #

Arguments

:: (HasCallStack, NeptDataType a) 
=> Experiment

experiment

-> Text

key

-> a

value

-> IO () 

Log a key-value pair

withNept Source #

Arguments

:: Text

<namespace>/<project_name>

-> (NeptuneSession -> Experiment -> IO a)

action

-> IO a 

Run an action within a neptune session and a new experiment

withNept' Source #

Arguments

:: Text

<namespace>/<project_name>

-> Maybe Text

Optional name of the experiment (automatically assigned if Nothing)

-> Maybe Text

Optional description of the experiment

-> [Parameter]

experiment hyper-parameters

-> [(Text, Text)]

experiment properties

-> [Text]

experiment tags

-> (NeptuneSession -> Experiment -> IO a)

action

-> IO a 

Run an action within a neptune session and a new experiment

initNept Source #

Arguments

:: HasCallStack 
=> Text

<namespace>/<project_name>

-> IO NeptuneSession 

Initialize a neptune session

teardownNept Source #

Arguments

:: NeptuneSession

session

-> Experiment

experiment

-> Maybe (ExperimentState, Text)

completion state & message

-> IO () 

Teardown a neptune session