cu

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package Cu implements the learning stage of the Neurlang classifier on CUDA

Index

Constants

View Source
const INPUTS = 16
View Source
const RESULTS = 50

Variables

This section is empty.

Functions

This section is empty.

Types

type HyperParameters

type HyperParameters struct {
	learning.HyperParameters

	CuCutoff        uint32 // the switchover point to cuda. Smaller problems go to cuda
	CuMemoryBytes   uint64 // statically set memory
	CuMemoryPortion uint16 // how many percent of gpu memory to use. 2=half, 3=third
	CuErase         bool   // pre-erase memory set
	CuArenaBytes    uint64 // set memory for solution arena
	// contains filtered or unexported fields
}

func (*HyperParameters) H

func (*HyperParameters) SetLogger

func (h *HyperParameters) SetLogger(filename string)

SetLogger sets the output logger file where hashtron golang code programs are written

func (*HyperParameters) Solve

Solve directly solves a single hashtron on a splitted dataset d. It outputs the size of solution and the trained hashtron if successful. Most callers should use Training instead.

func (*HyperParameters) Training

Training trains a single hashtron on a dataset d. It outputs the trained hashtron if successful, or an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL