Skip to content

Class: Colors

Synthetic color-name dataset (dspy.Colors).

URI: dspy:Colors

 classDiagram
    class Colors
    click Colors href "../Colors/"
      Dataset <|-- Colors
        click Dataset href "../Dataset/"

      Colors : description

      Colors : devset





        Colors --> "*" Example : devset
        click Example href "../Example/"



      Colors : id

      Colors : name

      Colors : splits





        Colors --> "0..1" Any : splits
        click Any href "../Any/"



      Colors : testset





        Colors --> "*" Example : testset
        click Example href "../Example/"



      Colors : trainset





        Colors --> "*" Example : trainset
        click Example href "../Example/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
trainset *
Example
Training split used by an optimizer Dataset
devset *
Example
Dev / evaluation split Dataset
testset *
Example
Held-out test split Dataset
splits 0..1
Any
Dataset split sizes / metadata Dataset
id 1
Identifier
Stable opaque identifier for an instance NamedThing
name 0..1
String
Short human-readable name NamedThing
description 0..1
String
Free-form description NamedThing

In Subsets

Identifier and Mapping Information

Annotations

property value
dspy_source_paths ['dspy/datasets/colors.py']
dspy_source_urls ['https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/colors.py']

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:Colors
native dspy:Colors

LinkML Source

Direct

name: Colors
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/datasets/colors.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/colors.py
description: Synthetic color-name dataset (``dspy.Colors``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: Dataset

Induced

name: Colors
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/datasets/colors.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/colors.py
description: Synthetic color-name dataset (``dspy.Colors``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: Dataset
attributes:
  trainset:
    name: trainset
    description: Training split used by an optimizer.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: Colors
    domain_of:
    - KNN
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  devset:
    name: devset
    description: Dev / evaluation split.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: Colors
    domain_of:
    - Evaluate
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  testset:
    name: testset
    description: Held-out test split.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: Colors
    domain_of:
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  splits:
    name: splits
    description: Dataset split sizes / metadata.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: Colors
    domain_of:
    - Dataset
    range: Any
  id:
    name: id
    description: Stable opaque identifier for an instance.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    owner: Colors
    domain_of:
    - NamedThing
    range: Identifier
    required: true
  name:
    name: name
    description: Short human-readable name.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: rdfs:label
    owner: Colors
    domain_of:
    - NamedThing
    - LMToolCallPart
    - LMMessage
    - LMToolSpec
    range: string
  description:
    name: description
    description: Free-form description.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: dct:description
    owner: Colors
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string