env

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 0 Imported by: 0

README

Golang-Machine-Learning env

Documentation

Package env is a package that mimics the gym library for reinforcement learning purposes. The reference library can be found at https://www.gymlibrary.dev/index.html.

Documentation

Overview

The env package contains code for generating a custom gym environment or to replicate a similar environment from the gym library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment interface {
	Step(action []float64) (float64, float64, bool, error)
	Reset() float64
	GetNumActions() int
	GetNumObservations() int
}

Environment is a representation of a gym environment, which needs to implement the Step, Reset, GetNumActions, and GetNumObservations functions.

Directories

Path Synopsis
The frozenlake package contains code for generating the frozen lake environment.
The frozenlake package contains code for generating the frozen lake environment.
The soccer package contains code for generating the soccer environment.
The soccer package contains code for generating the soccer environment.

Jump to

Keyboard shortcuts

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