• package root
    Definition Classes
  • package lamp

    Lamp provides utilities to build state of the art machine learning applications

    Lamp provides utilities to build state of the art machine learning applications


    Notable types and packages:

    • lamp.STen is a memory managed wrapper around aten.ATen, an off the heap, native n-dimensionl array backed by libtorch.
    • lamp.autograd implements reverse mode automatic differentiation.
    • lamp.nn contains neural network building blocks, see e.g. lamp.nn.Linear.
    • implements a training loop and other data related abstractions.
    • lamp.knn implements k-nearest neighbor search on the CPU and GPU
    • lamp.umap.Umap implements the UMAP dimension reduction algorithm
    • lamp.onnx implements serialization of computation graphs into ONNX format
    • contains CSV and NPY readers
    How to get data into lamp

    Use one of the file readers in or one of the factories in lamp.STen$.

    How to define a custom neural network layer

    See the documentation on lamp.nn.GenericModule

    How to compose neural network layers

    See the documentation on lamp.nn

    How to train models

    See the training loops in

    Definition Classes
  • package table
    Definition Classes
  • package io
    Definition Classes
  • package schemas

package io

Linear Supertypes
AnyRef, Any
  1. Alphabetic
  2. By Inheritance
  1. io
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
  1. Public
  2. Protected

Package Members

  1. package schemas

Value Members

  1. def readTableFromFile(file: File, device: Device = lamp.CPU, pin: Boolean = false)(implicit scope: Scope): Table
  2. def writeTableToFile(table: Table, file: File, bufferSize: Int = 16384): IO[Either[String, Unit]]

Inherited from AnyRef

Inherited from Any