Documentation for attributes.go

http://go-lint.appspot.com/github.com/Sentimentron/golearn/base