gens

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: BSD-3-Clause Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Binded

func Binded(kclusters int, pval, eps float64, mp int) learn.LearnFunc

Binded is a binded version of Gens.

func Learn

func Learn(sc map[int]*learn.Variable, data []map[int]int, kclusters int, pval, eps float64, mp int) spn.SPN

Learn runs the Gens Learning Algorithm Based on the article

Learning the Structure of Sum Product Networks
Robert Gens and Pedro Domingos
International Conference on Machine Learning 30 (ICML 2013)

func LearnConcurrent

func LearnConcurrent(sc map[int]*learn.Variable, data []map[int]int, kclusters int, pval, eps float64, mp int, procs int) spn.SPN

func LearnGauss

func LearnGauss(sc map[int]*learn.Variable, data []map[int]int, kclusters int, pval, eps float64, mp, g int) spn.SPN

LearnGauss uses Gaussians instead of Multinomials.

func LearnGaussConcurrent

func LearnGaussConcurrent(sc map[int]*learn.Variable, data []map[int]int, kclusters int, pval, eps float64, mp, g, procs int) spn.SPN

LearnGaussConcurrent learns with gaussians concurrently.

Types

This section is empty.

Jump to

Keyboard shortcuts

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