Skip to content

Class: ClassifierCallback

Utilities called at certain points during model training.

URI: https://w3id.org/neat-ml/:ClassifierCallback

Slots

Name Range Cardinality Description Info
type string 0..1 Type of callback. .
monitor string 0..1 Quantity to be monitored. .
patience integer 0..1 Number of epochs with no improvement after which training will be stopped. .
min_delta integer 0..1 Minimum change in the monitored quantity to qualify as an improvement, i.e. an absolute change of less than min_delta, will count as no improvement. .
verbose boolean 0..1 Verbosity mode, 0 or 1. Mode 0 is silent, and mode 1 displays messages when the callback takes an action. .
mode ClassifierCallbackModeEnum 0..1 One of {"auto", "min", "max"}. In min mode, training will stop when the quantity monitored has stopped decreasing; in "max" mode it will stop when the quantity monitored has stopped increasing; in "auto" mode, the direction is automatically inferred from the name of the monitored quantity. .

Usages

used by used in type used
ClassifierCallbackContainer callbacks range ClassifierCallback

Identifier and Mapping Information

LinkML Specification

Direct

name: ClassifierCallback
description: Utilities called at certain points during model training.
from_schema: https://w3id.org/neat-ml
attributes:
  type:
    name: type
    description: Type of callback.
    from_schema: https://w3id.org/neat-ml
  monitor:
    name: monitor
    description: Quantity to be monitored.
    from_schema: https://w3id.org/neat-ml
  patience:
    name: patience
    description: Number of epochs with no improvement after which training will be
      stopped.
    from_schema: https://w3id.org/neat-ml
    range: integer
  min_delta:
    name: min_delta
    description: Minimum change in the monitored quantity to qualify as an improvement,
      i.e. an absolute change of less than min_delta, will count as no improvement.
    from_schema: https://w3id.org/neat-ml
    range: integer
  verbose:
    name: verbose
    description: Verbosity mode, 0 or 1. Mode 0 is silent, and mode 1 displays messages
      when the callback takes an action.
    from_schema: https://w3id.org/neat-ml
    range: boolean
  mode:
    name: mode
    description: One of {"auto", "min", "max"}. In min mode, training will stop when
      the quantity monitored has stopped decreasing; in "max" mode it will stop when
      the quantity monitored has stopped increasing; in "auto" mode, the direction
      is automatically inferred from the name of the monitored quantity.
    from_schema: https://w3id.org/neat-ml
    range: classifier_callback_mode_enum

Induced

name: ClassifierCallback
description: Utilities called at certain points during model training.
from_schema: https://w3id.org/neat-ml
attributes:
  type:
    name: type
    description: Type of callback.
    from_schema: https://w3id.org/neat-ml
    alias: type
    owner: ClassifierCallback
    range: string
  monitor:
    name: monitor
    description: Quantity to be monitored.
    from_schema: https://w3id.org/neat-ml
    alias: monitor
    owner: ClassifierCallback
    range: string
  patience:
    name: patience
    description: Number of epochs with no improvement after which training will be
      stopped.
    from_schema: https://w3id.org/neat-ml
    alias: patience
    owner: ClassifierCallback
    range: integer
  min_delta:
    name: min_delta
    description: Minimum change in the monitored quantity to qualify as an improvement,
      i.e. an absolute change of less than min_delta, will count as no improvement.
    from_schema: https://w3id.org/neat-ml
    alias: min_delta
    owner: ClassifierCallback
    range: integer
  verbose:
    name: verbose
    description: Verbosity mode, 0 or 1. Mode 0 is silent, and mode 1 displays messages
      when the callback takes an action.
    from_schema: https://w3id.org/neat-ml
    alias: verbose
    owner: ClassifierCallback
    range: boolean
  mode:
    name: mode
    description: One of {"auto", "min", "max"}. In min mode, training will stop when
      the quantity monitored has stopped decreasing; in "max" mode it will stop when
      the quantity monitored has stopped increasing; in "auto" mode, the direction
      is automatically inferred from the name of the monitored quantity.
    from_schema: https://w3id.org/neat-ml
    alias: mode
    owner: ClassifierCallback
    range: classifier_callback_mode_enum