View definition

(*DenseInstances).AddAttribute

Defined in github.com/sjwhitworth/golearn/base/dense.go

Description

AddAttribute adds an Attribute to this set of DenseInstances Creates a default AttributeGroup for it if a suitable one doesn't exist. Returns an AttributeSpec for subsequent Set() calls.

IMPORTANT: will panic if storage has been allocated via Extend.

AddAttribute is referenced in 2 repositories

github.com/sjwhitworth/golearn github.com/jbowles/wordlab