package owl-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Params module

type typ = {
  1. mutable epochs : float;
  2. mutable batch : Batch.typ;
  3. mutable gradient : Gradient.typ;
  4. mutable loss : Loss.typ;
  5. mutable learning_rate : Learning_Rate.typ;
  6. mutable regularisation : Regularisation.typ;
  7. mutable momentum : Momentum.typ;
  8. mutable clipping : Clipping.typ;
  9. mutable stopping : Stopping.typ;
  10. mutable checkpoint : Checkpoint.typ;
  11. mutable verbosity : bool;
}

Type definition of parameter.

val default : unit -> typ

Create module typ with default values.

val config : ?batch:Batch.typ -> ?gradient:Gradient.typ -> ?loss:Loss.typ -> ?learning_rate:Learning_Rate.typ -> ?regularisation:Regularisation.typ -> ?momentum:Momentum.typ -> ?clipping:Clipping.typ -> ?stopping:Stopping.typ -> ?checkpoint:Checkpoint.typ -> ?verbosity:bool -> float -> typ

This function creates a parameter object with many configurations.

val to_string : typ -> string

Convert the module typ to its string representation.

OCaml

Innovation. Community. Security.