MicrogradEx.Datasets.Dataset (MicrogradEx v0.1.0)

Copy Markdown View Source

A small supervised two-dimensional classification dataset.

The duplicated shapes are intentional: xs and ys are convenient for training, while points are convenient for Livebook tables and charts.

Summary

Types

input()

@type input() :: [float()]

label()

@type label() :: float()

point()

@type point() :: %{x: float(), y: float(), label: label()}

t()

@type t() :: %MicrogradEx.Datasets.Dataset{
  metadata: map(),
  points: [point()],
  xs: [input()],
  ys: [label()]
}