SYMBOL INDEX (950 symbols across 155 files) FILE: base/arff.go function SerializeInstancesToDenseARFF (line 16) | func SerializeInstancesToDenseARFF(inst FixedDataGrid, path, relation st... function SerializeInstancesToDenseARFFWithAttributes (line 31) | func SerializeInstancesToDenseARFFWithAttributes(inst FixedDataGrid, raw... function SerializeInstancesToWriterDenseARFFWithAttributes (line 44) | func SerializeInstancesToWriterDenseARFFWithAttributes(w io.Writer, inst... function ParseARFFGetRows (line 77) | func ParseARFFGetRows(filepath string) (int, error) { function ParseARFFGetAttributes (line 114) | func ParseARFFGetAttributes(filepath string) []Attribute { function ParseDenseARFFBuildInstancesFromReader (line 199) | func ParseDenseARFFBuildInstancesFromReader(r io.Reader, attrs []Attribu... function ParseDenseARFFToInstances (line 253) | func ParseDenseARFFToInstances(filepath string) (ret *DenseInstances, er... FILE: base/arff_test.go function TestParseARFFGetRows (line 9) | func TestParseARFFGetRows(t *testing.T) { function TestParseARFFGetAttributes (line 20) | func TestParseARFFGetAttributes(t *testing.T) { function TestParseARFF1 (line 45) | func TestParseARFF1(t *testing.T) { function TestParseARFF2 (line 56) | func TestParseARFF2(t *testing.T) { function TestSerializeToARFF (line 85) | func TestSerializeToARFF(t *testing.T) { FILE: base/attributes.go constant CategoricalType (line 9) | CategoricalType = iota constant Float64Type (line 11) | Float64Type constant BinaryType (line 12) | BinaryType type Attribute (line 16) | type Attribute interface FILE: base/attributes_test.go function TestFloatAttributeSysVal (line 8) | func TestFloatAttributeSysVal(t *testing.T) { function TestCategoricalAttributeVal (line 24) | func TestCategoricalAttributeVal(t *testing.T) { function TestBinaryAttribute (line 53) | func TestBinaryAttribute(t *testing.T) { FILE: base/bag.go type BinaryAttributeGroup (line 10) | type BinaryAttributeGroup struct method String (line 19) | func (b *BinaryAttributeGroup) String() string { method RowSizeInBytes (line 25) | func (b *BinaryAttributeGroup) RowSizeInBytes() int { method Attributes (line 30) | func (b *BinaryAttributeGroup) Attributes() []Attribute { method AddAttribute (line 39) | func (b *BinaryAttributeGroup) AddAttribute(a Attribute) error { method Storage (line 47) | func (b *BinaryAttributeGroup) Storage() []byte { method setStorage (line 55) | func (b *BinaryAttributeGroup) setStorage(a []byte) { method getByteOffset (line 59) | func (b *BinaryAttributeGroup) getByteOffset(col, row int) int { method set (line 63) | func (b *BinaryAttributeGroup) set(col, row int, val []byte) { method get (line 81) | func (b *BinaryAttributeGroup) get(col, row int) []byte { method appendToRowBuf (line 90) | func (b *BinaryAttributeGroup) appendToRowBuf(row int, buffer *bytes.B... method resize (line 101) | func (b *BinaryAttributeGroup) resize(add int) { FILE: base/bag_test.go function TestBAGSimple (line 10) | func TestBAGSimple(t *testing.T) { function TestBAG (line 70) | func TestBAG(t *testing.T) { FILE: base/binary.go type BinaryAttribute (line 10) | type BinaryAttribute struct method MarshalJSON (line 15) | func (b *BinaryAttribute) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 24) | func (b *BinaryAttribute) UnmarshalJSON(data []byte) error { method GetName (line 36) | func (b *BinaryAttribute) GetName() string { method SetName (line 41) | func (b *BinaryAttribute) SetName(name string) { method GetType (line 46) | func (b *BinaryAttribute) GetType() int { method GetSysValFromString (line 51) | func (b *BinaryAttribute) GetSysValFromString(userVal string) []byte { method GetStringFromSysVal (line 64) | func (b *BinaryAttribute) GetStringFromSysVal(val []byte) string { method Equals (line 72) | func (b *BinaryAttribute) Equals(other Attribute) bool { method Compatible (line 82) | func (b *BinaryAttribute) Compatible(other Attribute) bool { method String (line 91) | func (b *BinaryAttribute) String() string { function NewBinaryAttribute (line 29) | func NewBinaryAttribute(name string) *BinaryAttribute { FILE: base/categorical.go type CategoricalAttribute (line 11) | type CategoricalAttribute struct method MarshalJSON (line 17) | func (Attr *CategoricalAttribute) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 28) | func (Attr *CategoricalAttribute) UnmarshalJSON(data []byte) error { method GetValues (line 49) | func (Attr *CategoricalAttribute) GetValues() []string { method GetName (line 54) | func (Attr *CategoricalAttribute) GetName() string { method SetName (line 59) | func (Attr *CategoricalAttribute) SetName(name string) { method GetType (line 64) | func (Attr *CategoricalAttribute) GetType() int { method GetSysVal (line 70) | func (Attr *CategoricalAttribute) GetSysVal(userVal string) []byte { method GetUsrVal (line 82) | func (Attr *CategoricalAttribute) GetUsrVal(sysVal []byte) string { method GetSysValFromString (line 99) | func (Attr *CategoricalAttribute) GetSysValFromString(rawVal string) [... method String (line 121) | func (Attr *CategoricalAttribute) String() string { method GetStringFromSysVal (line 131) | func (Attr *CategoricalAttribute) GetStringFromSysVal(rawVal []byte) s... method Equals (line 144) | func (Attr *CategoricalAttribute) Equals(other Attribute) bool { method Compatible (line 171) | func (Attr *CategoricalAttribute) Compatible(other Attribute) bool { function NewCategoricalAttribute (line 41) | func NewCategoricalAttribute() *CategoricalAttribute { FILE: base/classifier.go type Classifier (line 8) | type Classifier interface type BaseClassifier (line 35) | type BaseClassifier struct type BaseRegressor (line 39) | type BaseRegressor struct FILE: base/conversion.go function checkAllAttributesAreFloat (line 9) | func checkAllAttributesAreFloat(attrs []Attribute) error { function ConvertRowToMat64 (line 22) | func ConvertRowToMat64(attrs []Attribute, f FixedDataGrid, r int) (*mat.... function ConvertAllRowsToMat64 (line 46) | func ConvertAllRowsToMat64(attrs []Attribute, f FixedDataGrid) ([]*mat.D... FILE: base/csv.go function ParseCSVGetRowsFromReader (line 14) | func ParseCSVGetRowsFromReader(r io.ReadSeeker) (int, error) { function ParseCSVEstimateFilePrecisionFromReader (line 32) | func ParseCSVEstimateFilePrecisionFromReader(r io.ReadSeeker) (int, erro... function ParseCSVGetAttributesFromReader (line 73) | func ParseCSVGetAttributesFromReader(r io.ReadSeeker, hasHeaders bool) [... function ParseCSVSniffAttributeNamesFromReader (line 84) | func ParseCSVSniffAttributeNamesFromReader(r io.ReadSeeker, hasHeaders b... function ParseCSVSniffAttributeTypesFromReader (line 111) | func ParseCSVSniffAttributeTypesFromReader(r io.ReadSeeker, hasHeaders b... function ParseCSVBuildInstancesFromReader (line 159) | func ParseCSVBuildInstancesFromReader(r io.ReadSeeker, attrs []Attribute... function ParseCSVToInstancesFromReader (line 205) | func ParseCSVToInstancesFromReader(r io.ReadSeeker, hasHeaders bool) (in... function ParseMatchAttributes (line 239) | func ParseMatchAttributes(attrs, templateAttrs []Attribute) { function ParseCSVToTemplatedInstancesFromReader (line 253) | func ParseCSVToTemplatedInstancesFromReader(r io.ReadSeeker, hasHeaders ... function ParseCSVToInstancesWithAttributeGroupsFromReader (line 291) | func ParseCSVToInstancesWithAttributeGroupsFromReader(r io.ReadSeeker, a... FILE: base/csv_test.go function TestParseCSVGetRows (line 9) | func TestParseCSVGetRows(t *testing.T) { function TestParseCSVGetAttributes (line 43) | func TestParseCSVGetAttributes(t *testing.T) { function TestParseCSVSniffAttributeTypes (line 61) | func TestParseCSVSniffAttributeTypes(t *testing.T) { function TestParseCSVSniffAttributeNames (line 75) | func TestParseCSVSniffAttributeNames(t *testing.T) { function TestParseCSVToInstances (line 89) | func TestParseCSVToInstances(t *testing.T) { FILE: base/data.go type SortDirection (line 4) | type SortDirection constant Descending (line 8) | Descending SortDirection = 1 constant Ascending (line 10) | Ascending SortDirection = 2 type DataGrid (line 14) | type DataGrid interface type FixedDataGrid (line 33) | type FixedDataGrid interface type UpdatableDataGrid (line 43) | type UpdatableDataGrid interface FILE: base/dataframe_go.go function ConvertDataFrameToInstances (line 13) | func ConvertDataFrameToInstances(df *dataframe.DataFrame, classAttrIndex... FILE: base/dense.go type DenseInstances (line 12) | type DenseInstances struct method createAttributeGroup (line 106) | func (inst *DenseInstances) createAttributeGroup(name string, size int) { method CreateAttributeGroup (line 139) | func (inst *DenseInstances) CreateAttributeGroup(name string, size int... method AllAttributeGroups (line 157) | func (inst *DenseInstances) AllAttributeGroups() map[string]AttributeG... method GetAttributeGroup (line 166) | func (inst *DenseInstances) GetAttributeGroup(name string) (AttributeG... method AddAttribute (line 188) | func (inst *DenseInstances) AddAttribute(a Attribute) AttributeSpec { method AddAttributeToAttributeGroup (line 236) | func (inst *DenseInstances) AddAttributeToAttributeGroup(newAttribute ... method GetAttribute (line 263) | func (inst *DenseInstances) GetAttribute(get Attribute) (AttributeSpec... method AllAttributes (line 279) | func (inst *DenseInstances) AllAttributes() []Attribute { method AddClassAttribute (line 294) | func (inst *DenseInstances) AddClassAttribute(a Attribute) error { method RemoveClassAttribute (line 309) | func (inst *DenseInstances) RemoveClassAttribute(a Attribute) error { method AllClassAttributes (line 325) | func (inst *DenseInstances) AllClassAttributes() []Attribute { method allClassAttributes (line 333) | func (inst *DenseInstances) allClassAttributes() []Attribute { method realiseAttributeGroups (line 349) | func (inst *DenseInstances) realiseAttributeGroups() error { method Extend (line 392) | func (inst *DenseInstances) Extend(rows int) error { method Set (line 430) | func (inst *DenseInstances) Set(a AttributeSpec, row int, val []byte) { method Get (line 437) | func (inst *DenseInstances) Get(a AttributeSpec, row int) []byte { method RowString (line 442) | func (inst *DenseInstances) RowString(row int) string { method MapOverRows (line 460) | func (inst *DenseInstances) MapOverRows(asv []AttributeSpec, mapFunc f... method Size (line 480) | func (inst *DenseInstances) Size() (int, int) { method swapRows (line 485) | func (inst *DenseInstances) swapRows(i, j int) { method String (line 498) | func (inst *DenseInstances) String() string { function NewDenseInstances (line 30) | func NewDenseInstances() *DenseInstances { function copyFixedDataGridStructure (line 47) | func copyFixedDataGridStructure(of FixedDataGrid) (*DenseInstances, []At... function NewStructuralCopy (line 74) | func NewStructuralCopy(of FixedDataGrid) *DenseInstances { function NewDenseCopy (line 81) | func NewDenseCopy(of FixedDataGrid) *DenseInstances { FILE: base/dense_test.go function TestHighDimensionalInstancesLoad (line 8) | func TestHighDimensionalInstancesLoad(t *testing.T) { function TestHighDimensionalInstancesLoad2 (line 14) | func TestHighDimensionalInstancesLoad2(t *testing.T) { FILE: base/domain.go type Estimator (line 14) | type Estimator interface type Predictor (line 19) | type Predictor interface type Model (line 25) | type Model interface type BaseEstimator (line 29) | type BaseEstimator struct function SaveEstimatorToGob (line 35) | func SaveEstimatorToGob(path string, e *Estimator) { FILE: base/error.go type GoLearnError (line 10) | type GoLearnError struct method Error (line 25) | func (g *GoLearnError) Error() string { method attachFormattedStack (line 38) | func (g *GoLearnError) attachFormattedStack() { function wrapLinesWithTabPrefix (line 16) | func wrapLinesWithTabPrefix(s string) string { function DescribeError (line 67) | func DescribeError(description string, err error) error { function WrapError (line 75) | func WrapError(err error) error { function FormatError (line 82) | func FormatError(err error, format string, args ...interface{}) error { FILE: base/error_test.go function TestId3 (line 8) | func TestId3(t *testing.T) { FILE: base/filewrapper.go function ParseCSVGetRows (line 8) | func ParseCSVGetRows(filepath string) (int, error) { function ParseCSVEstimateFilePrecision (line 20) | func ParseCSVEstimateFilePrecision(filepath string) (int, error) { function ParseCSVGetAttributes (line 33) | func ParseCSVGetAttributes(filepath string, hasHeaders bool) []Attribute { function ParseCSVSniffAttributeNames (line 45) | func ParseCSVSniffAttributeNames(filepath string, hasHeaders bool) []str... function ParseCSVSniffAttributeTypes (line 59) | func ParseCSVSniffAttributeTypes(filepath string, hasHeaders bool) []Att... function ParseCSVToInstances (line 72) | func ParseCSVToInstances(filepath string, hasHeaders bool) (instances *D... function ParseCSVToTemplatedInstances (line 85) | func ParseCSVToTemplatedInstances(filepath string, hasHeaders bool, temp... function ParseCSVToInstancesWithAttributeGroups (line 99) | func ParseCSVToInstancesWithAttributeGroups(filepath string, attrGroups,... FILE: base/filtered.go type LazilyFilteredInstances (line 13) | type LazilyFilteredInstances struct method GetAttribute (line 55) | func (l *LazilyFilteredInstances) GetAttribute(target Attribute) (Attr... method AllAttributes (line 73) | func (l *LazilyFilteredInstances) AllAttributes() []Attribute { method AddClassAttribute (line 91) | func (l *LazilyFilteredInstances) AddClassAttribute(cls Attribute) err... method RemoveClassAttribute (line 111) | func (l *LazilyFilteredInstances) RemoveClassAttribute(cls Attribute) ... method AllClassAttributes (line 130) | func (l *LazilyFilteredInstances) AllClassAttributes() []Attribute { method transformNewToOldAttribute (line 140) | func (l *LazilyFilteredInstances) transformNewToOldAttribute(as Attrib... method Get (line 157) | func (l *LazilyFilteredInstances) Get(as AttributeSpec, row int) []byte { method MapOverRows (line 172) | func (l *LazilyFilteredInstances) MapOverRows(asv []AttributeSpec, map... method RowString (line 198) | func (l *LazilyFilteredInstances) RowString(row int) string { method Size (line 219) | func (l *LazilyFilteredInstances) Size() (int, int) { method String (line 225) | func (l *LazilyFilteredInstances) String() string { function NewLazilyFilteredInstances (line 24) | func NewLazilyFilteredInstances(src FixedDataGrid, f Filter) *LazilyFilt... FILE: base/filters.go type FilteredAttribute (line 5) | type FilteredAttribute struct type Filter (line 12) | type Filter interface FILE: base/fixed.go type FixedAttributeGroup (line 10) | type FixedAttributeGroup struct method String (line 19) | func (f *FixedAttributeGroup) String() string { method RowSizeInBytes (line 24) | func (f *FixedAttributeGroup) RowSizeInBytes() int { method Attributes (line 29) | func (f *FixedAttributeGroup) Attributes() []Attribute { method AddAttribute (line 39) | func (f *FixedAttributeGroup) AddAttribute(a Attribute) error { method setStorage (line 45) | func (f *FixedAttributeGroup) setStorage(a []byte) { method Storage (line 51) | func (f *FixedAttributeGroup) Storage() []byte { method offset (line 55) | func (f *FixedAttributeGroup) offset(col, row int) int { method set (line 59) | func (f *FixedAttributeGroup) set(col int, row int, val []byte) { method get (line 81) | func (f *FixedAttributeGroup) get(col int, row int) []byte { method appendToRowBuf (line 86) | func (f *FixedAttributeGroup) appendToRowBuf(row int, buffer *bytes.Bu... method resize (line 96) | func (f *FixedAttributeGroup) resize(add int) { FILE: base/float.go type FloatAttribute (line 11) | type FloatAttribute struct method MarshalJSON (line 18) | func (f *FloatAttribute) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 29) | func (f *FloatAttribute) UnmarshalJSON(data []byte) error { method Compatible (line 50) | func (Attr *FloatAttribute) Compatible(other Attribute) bool { method Equals (line 59) | func (Attr *FloatAttribute) Equals(other Attribute) bool { method GetName (line 73) | func (Attr *FloatAttribute) GetName() string { method SetName (line 78) | func (Attr *FloatAttribute) SetName(name string) { method GetType (line 83) | func (Attr *FloatAttribute) GetType() int { method String (line 89) | func (Attr *FloatAttribute) String() string { method CheckSysValFromString (line 96) | func (Attr *FloatAttribute) CheckSysValFromString(rawVal string) ([]by... method GetSysValFromString (line 111) | func (Attr *FloatAttribute) GetSysValFromString(rawVal string) []byte { method GetFloatFromSysVal (line 120) | func (Attr *FloatAttribute) GetFloatFromSysVal(rawVal []byte) float64 { method GetStringFromSysVal (line 126) | func (Attr *FloatAttribute) GetStringFromSysVal(rawVal []byte) string { function NewFloatAttribute (line 44) | func NewFloatAttribute(name string) *FloatAttribute { FILE: base/group.go type AttributeGroup (line 9) | type AttributeGroup interface FILE: base/lazy_sort_test.go function TestLazySortDesc (line 8) | func TestLazySortDesc(t *testing.T) { function TestLazySortAsc (line 39) | func TestLazySortAsc(t *testing.T) { FILE: base/logger.go function SetLogger (line 14) | func SetLogger(logger *log.Logger) { function SetLoggerOut (line 22) | func SetLoggerOut(out io.Writer) { function Silent (line 28) | func Silent() { FILE: base/mat.go type Mat64Instances (line 9) | type Mat64Instances struct method GetAttribute (line 32) | func (m *Mat64Instances) GetAttribute(a Attribute) (AttributeSpec, err... method AllAttributes (line 42) | func (m *Mat64Instances) AllAttributes() []Attribute { method AddClassAttribute (line 51) | func (m *Mat64Instances) AddClassAttribute(a Attribute) error { method RemoveClassAttribute (line 62) | func (m *Mat64Instances) RemoveClassAttribute(a Attribute) error { method AllClassAttributes (line 73) | func (m *Mat64Instances) AllClassAttributes() []Attribute { method Get (line 85) | func (m *Mat64Instances) Get(as AttributeSpec, row int) []byte { method MapOverRows (line 91) | func (m *Mat64Instances) MapOverRows(as []AttributeSpec, f func([][]by... method RowString (line 111) | func (m *Mat64Instances) RowString(row int) string { method Size (line 116) | func (m *Mat64Instances) Size() (int, int) { method String (line 121) | func (m *Mat64Instances) String() string { function InstancesFromMat64 (line 17) | func InstancesFromMat64(rows, cols int, data *mat.Dense) *Mat64Instances { FILE: base/mat_test.go function TestInlineMat64Creation (line 9) | func TestInlineMat64Creation(t *testing.T) { function TestStringWithExceedMaxRow (line 66) | func TestStringWithExceedMaxRow(t *testing.T) { FILE: base/serialize.go constant SerializationFormatVersion (line 16) | SerializationFormatVersion = "golearn 1.0" type FunctionalTarReader (line 21) | type FunctionalTarReader struct method GetNamedFile (line 35) | func (f *FunctionalTarReader) GetNamedFile(name string) ([]byte, error) { function NewFunctionalTarReader (line 27) | func NewFunctionalTarReader(regenFunc func() *tar.Reader) *FunctionalTar... function tarPrefix (line 71) | func tarPrefix(prefix string, suffix string) string { type ClassifierMetadataV1 (line 80) | type ClassifierMetadataV1 struct type ClassifierDeserializer (line 94) | type ClassifierDeserializer struct method Prefix (line 102) | func (c *ClassifierDeserializer) Prefix(prefix string, suffix string) ... method ReadMetadataAtPrefix (line 110) | func (c *ClassifierDeserializer) ReadMetadataAtPrefix(prefix string) (... method GetBytesForKey (line 176) | func (c *ClassifierDeserializer) GetBytesForKey(key string) ([]byte, e... method GetStringForKey (line 180) | func (c *ClassifierDeserializer) GetStringForKey(key string) (string, ... method GetJSONForKey (line 189) | func (c *ClassifierDeserializer) GetJSONForKey(key string, v interface... method GetInstancesForKey (line 198) | func (c *ClassifierDeserializer) GetInstancesForKey(key string) (Fixed... method GetU64ForKey (line 203) | func (c *ClassifierDeserializer) GetU64ForKey(key string) (uint64, err... method GetAttributeForKey (line 212) | func (c *ClassifierDeserializer) GetAttributeForKey(key string) (Attri... method GetAttributesForKey (line 225) | func (c *ClassifierDeserializer) GetAttributesForKey(key string) ([]At... method Close (line 246) | func (c *ClassifierDeserializer) Close() { function ReadSerializedClassifierStub (line 119) | func ReadSerializedClassifierStub(filePath string) (*ClassifierDeseriali... type ClassifierSerializer (line 251) | type ClassifierSerializer struct method Close (line 260) | func (c *ClassifierSerializer) Close() error { method WriteBytesForKey (line 291) | func (c *ClassifierSerializer) WriteBytesForKey(key string, b []byte) ... method WriteU64ForKey (line 318) | func (c *ClassifierSerializer) WriteU64ForKey(key string, v uint64) er... method WriteJSONForKey (line 324) | func (c *ClassifierSerializer) WriteJSONForKey(key string, v interface... method WriteAttributeForKey (line 336) | func (c *ClassifierSerializer) WriteAttributeForKey(key string, a Attr... method WriteAttributesForKey (line 345) | func (c *ClassifierSerializer) WriteAttributesForKey(key string, attrs... method WriteInstancesForKey (line 363) | func (c *ClassifierSerializer) WriteInstancesForKey(key string, g Fixe... method Prefix (line 369) | func (c *ClassifierSerializer) Prefix(prefix string, suffix string) st... method WriteMetadataAtPrefix (line 377) | func (c *ClassifierSerializer) WriteMetadataAtPrefix(prefix string, me... function CreateSerializedClassifierStub (line 383) | func CreateSerializedClassifierStub(filePath string, metadata Classifier... FILE: base/serialize_attributes.go function writeAttributesToFilePart (line 9) | func writeAttributesToFilePart(attrs []Attribute, f *tar.Writer, name st... function MarshalAttribute (line 34) | func MarshalAttribute(a Attribute) (map[string]interface{}, error) { function SerializeAttribute (line 47) | func SerializeAttribute(attr Attribute) ([]byte, error) { function DeserializeAttribute (line 56) | func DeserializeAttribute(data []byte) (Attribute, error) { function DeserializeAttributes (line 93) | func DeserializeAttributes(data []byte) ([]Attribute, error) { function ReplaceDeserializedAttributeWithVersionFromInstances (line 115) | func ReplaceDeserializedAttributeWithVersionFromInstances(deserialized A... function ReplaceDeserializedAttributesWithVersionsFromInstances (line 126) | func ReplaceDeserializedAttributesWithVersionsFromInstances(deserialized... FILE: base/serialize_instances.go function SerializeInstancesToFile (line 14) | func SerializeInstancesToFile(inst FixedDataGrid, path string) error { function SerializeInstancesToCSV (line 32) | func SerializeInstancesToCSV(inst FixedDataGrid, path string) error { function SerializeInstancesToCSVStream (line 46) | func SerializeInstancesToCSVStream(inst FixedDataGrid, f io.Writer) error { function DeserializeInstancesFromTarReader (line 81) | func DeserializeInstancesFromTarReader(tr *FunctionalTarReader, prefix s... function DeserializeInstances (line 187) | func DeserializeInstances(f io.ReadSeeker) (ret *DenseInstances, err err... function SerializeInstances (line 223) | func SerializeInstances(inst FixedDataGrid, f io.Writer) error { function SerializeInstancesToTarWriter (line 250) | func SerializeInstancesToTarWriter(inst FixedDataGrid, tw *tar.Writer, p... FILE: base/serialize_test.go function TestSerializeToCSV (line 13) | func TestSerializeToCSV(t *testing.T) { function TestCreateAndReadClassifierStub (line 32) | func TestCreateAndReadClassifierStub(t *testing.T) { function TestSerializeToFile (line 65) | func TestSerializeToFile(t *testing.T) { FILE: base/sort.go function sortXorOp (line 8) | func sortXorOp(b []byte) []byte { type sortSpec (line 15) | type sortSpec struct function createSortSpec (line 21) | func createSortSpec(inst FixedDataGrid, attrsArg []AttributeSpec) []sort... function Sort (line 110) | func Sort(inst FixedDataGrid, direction SortDirection, attrs []Attribute... function LazySort (line 133) | func LazySort(inst FixedDataGrid, direction SortDirection, attrs []Attri... FILE: base/sort_test.go function isSortedAsc (line 8) | func isSortedAsc(inst FixedDataGrid, attr AttributeSpec) bool { function isSortedDesc (line 23) | func isSortedDesc(inst FixedDataGrid, attr AttributeSpec) bool { function TestSortDesc (line 38) | func TestSortDesc(t *testing.T) { function TestSortAsc (line 69) | func TestSortAsc(t *testing.T) { FILE: base/spec.go type AttributeSpec (line 10) | type AttributeSpec struct method GetAttribute (line 34) | func (a *AttributeSpec) GetAttribute() Attribute { method String (line 39) | func (a *AttributeSpec) String() string { type byPosition (line 16) | type byPosition method Len (line 18) | func (b byPosition) Len() int { method Swap (line 21) | func (b byPosition) Swap(i, j int) { method Less (line 24) | func (b byPosition) Less(i, j int) bool { FILE: base/util.go function PackU64ToBytesInline (line 10) | func PackU64ToBytesInline(val uint64, ret []byte) { function PackFloatToBytesInline (line 23) | func PackFloatToBytesInline(val float64, ret []byte) { function PackU64ToBytes (line 29) | func PackU64ToBytes(val uint64) []byte { function UnpackBytesToU64 (line 44) | func UnpackBytesToU64(val []byte) uint64 { function PackFloatToBytes (line 51) | func PackFloatToBytes(val float64) []byte { function UnpackBytesToFloat (line 57) | func UnpackBytesToFloat(val []byte) float64 { function byteSeqEqual (line 62) | func byteSeqEqual(a, b []byte) bool { FILE: base/util_attributes.go function NonClassFloatAttributes (line 12) | func NonClassFloatAttributes(d DataGrid) []Attribute { function NonClassAttributes (line 36) | func NonClassAttributes(d DataGrid) []Attribute { function ResolveAttributes (line 44) | func ResolveAttributes(d DataGrid, attrs []Attribute) []AttributeSpec { function ResolveAllAttributes (line 62) | func ResolveAllAttributes(d DataGrid) []AttributeSpec { function buildAttrSet (line 66) | func buildAttrSet(a []Attribute) map[Attribute]bool { function AttributeIntersect (line 79) | func AttributeIntersect(a1, a2 []Attribute) []Attribute { function AttributeIntersectReferences (line 102) | func AttributeIntersectReferences(a1, a2 []Attribute) []Attribute { function AttributeDifference (line 120) | func AttributeDifference(a1, a2 []Attribute) []Attribute { function AttributeDifferenceReferences (line 144) | func AttributeDifferenceReferences(a1, a2 []Attribute) []Attribute { FILE: base/util_instances.go function GeneratePredictionVector (line 13) | func GeneratePredictionVector(from FixedDataGrid) UpdatableDataGrid { function CopyDenseInstances (line 27) | func CopyDenseInstances(template *DenseInstances, templateAttrs []Attrib... function GetClass (line 61) | func GetClass(from DataGrid, row int) string { function SetClass (line 90) | func SetClass(at UpdatableDataGrid, row int, class string) { function GetAttributeByName (line 114) | func GetAttributeByName(inst FixedDataGrid, name string) Attribute { function GetClassDistributionByBinaryFloatValue (line 125) | func GetClassDistributionByBinaryFloatValue(inst FixedDataGrid) []int { function GetClassDistributionByCategoricalValue (line 158) | func GetClassDistributionByCategoricalValue(inst FixedDataGrid) []int { function GetClassDistribution (line 188) | func GetClassDistribution(inst FixedDataGrid) map[string]int { function GetClassDistributionAfterThreshold (line 200) | func GetClassDistributionAfterThreshold(inst FixedDataGrid, at Attribute... function GetClassDistributionAfterSplit (line 236) | func GetClassDistributionAfterSplit(inst FixedDataGrid, at Attribute) ma... function DecomposeOnNumericAttributeThreshold (line 269) | func DecomposeOnNumericAttributeThreshold(inst FixedDataGrid, at Attribu... function DecomposeOnAttributeValues (line 325) | func DecomposeOnAttributeValues(inst FixedDataGrid, at Attribute) map[st... function InstancesTrainTestSplit (line 376) | func InstancesTrainTestSplit(src FixedDataGrid, prop float64) (FixedData... function LazyShuffle (line 400) | func LazyShuffle(from FixedDataGrid) FixedDataGrid { function Shuffle (line 413) | func Shuffle(from FixedDataGrid) FixedDataGrid { function SampleWithReplacement (line 431) | func SampleWithReplacement(from FixedDataGrid, size int) FixedDataGrid { function CheckCompatible (line 443) | func CheckCompatible(s1 FixedDataGrid, s2 FixedDataGrid) []Attribute { function CheckStrictlyCompatible (line 458) | func CheckStrictlyCompatible(s1 FixedDataGrid, s2 FixedDataGrid) bool { function InstancesAreEqual (line 507) | func InstancesAreEqual(inst, other FixedDataGrid) bool { FILE: base/util_test.go function TestClassDistributionAfterSplit (line 8) | func TestClassDistributionAfterSplit(t *testing.T) { function TestPackAndUnpack (line 25) | func TestPackAndUnpack(t *testing.T) { function TestPackAndUnpackFloat (line 53) | func TestPackAndUnpackFloat(t *testing.T) { function TestStrictlyCompatable (line 68) | func TestStrictlyCompatable(t *testing.T) { function TestCategoricalEquality (line 99) | func TestCategoricalEquality(t *testing.T) { FILE: base/view.go type InstancesView (line 10) | type InstancesView struct method addClassAttrsFromSrc (line 18) | func (v *InstancesView) addClassAttrsFromSrc(src FixedDataGrid) { method resolveRow (line 35) | func (v *InstancesView) resolveRow(origRow int) int { method GetAttribute (line 117) | func (v *InstancesView) GetAttribute(a Attribute) (AttributeSpec, erro... method AllAttributes (line 136) | func (v *InstancesView) AllAttributes() []Attribute { method AddClassAttribute (line 153) | func (v *InstancesView) AddClassAttribute(a Attribute) error { method RemoveClassAttribute (line 171) | func (v *InstancesView) RemoveClassAttribute(a Attribute) error { method AllClassAttributes (line 178) | func (v *InstancesView) AllClassAttributes() []Attribute { method Get (line 194) | func (v *InstancesView) Get(as AttributeSpec, row int) []byte { method MapOverRows (line 207) | func (v *InstancesView) MapOverRows(as []AttributeSpec, rowFunc func([... method Size (line 231) | func (v *InstancesView) Size() (int, int) { method String (line 250) | func (v *InstancesView) String() string { method RowString (line 306) | func (v *InstancesView) RowString(row int) string { function NewInstancesViewFromRows (line 57) | func NewInstancesViewFromRows(src FixedDataGrid, rows map[int]int) *Inst... function NewInstancesViewFromVisible (line 78) | func NewInstancesViewFromVisible(src FixedDataGrid, rows []int, attrs []... function NewInstancesViewFromAttrs (line 99) | func NewInstancesViewFromAttrs(src FixedDataGrid, attrs []Attribute) *In... FILE: base/view_test.go function TestInstancesViewRows (line 8) | func TestInstancesViewRows(t *testing.T) { function TestInstancesViewFromVisible (line 33) | func TestInstancesViewFromVisible(t *testing.T) { function TestInstancesViewAttrs (line 65) | func TestInstancesViewAttrs(t *testing.T) { FILE: clustering/cluster_extra_test.go function Test (line 8) | func Test(t *testing.T) { FILE: clustering/cluster_test.go function TestClusterEquality (line 8) | func TestClusterEquality(t *testing.T) { FILE: clustering/clustering.go type ClusterParameters (line 14) | type ClusterParameters struct type ClusterMap (line 25) | type ClusterMap method Invert (line 29) | func (ref ClusterMap) Invert() (map[int]int, error) { method Equals (line 45) | func (ref ClusterMap) Equals(other ClusterMap) (bool, error) { FILE: clustering/dbscan.go type DBSCANParameters (line 12) | type DBSCANParameters struct function regionQuery (line 25) | func regionQuery(p int, ret *big.Int, dist *mat.Dense, eps float64) *big... function computePairwiseDistances (line 36) | func computePairwiseDistances(inst base.FixedDataGrid, attrs []base.Attr... function DBSCAN (line 58) | func DBSCAN(inst base.FixedDataGrid, params DBSCANParameters) (ClusterMa... function BitCount (line 145) | func BitCount(n *big.Int) int { FILE: clustering/dbscan_test.go function TestDBSCANDistanceQuery (line 16) | func TestDBSCANDistanceQuery(t *testing.T) { function TestDBSCANSynthetic (line 48) | func TestDBSCANSynthetic(t *testing.T) { function TestDBSCANDistanceMetric (line 75) | func TestDBSCANDistanceMetric(t *testing.T) { function TestDBSCAN (line 94) | func TestDBSCAN(t *testing.T) { FILE: clustering/em.go type ExpectationMaximization (line 19) | type ExpectationMaximization struct method Fit (line 42) | func (em *ExpectationMaximization) Fit(inst base.FixedDataGrid) error { method Predict (line 89) | func (em *ExpectationMaximization) Predict(inst base.FixedDataGrid) (C... type Params (line 27) | type Params struct function NewExpectationMaximization (line 33) | func NewExpectationMaximization(n_comps int) (*ExpectationMaximization, ... function expectation (line 122) | func expectation(X *mat.Dense, p Params, n_comps int) mat.Vector { function maximization (line 128) | func maximization(X *mat.Dense, y mat.Vector, p Params, n_comps int) Par... function estimateLogProb (line 160) | func estimateLogProb(X *mat.Dense, p Params, n_comps int) mat.Vector { function shrunkCovariance (line 195) | func shrunkCovariance(X *mat.Dense) *mat.SymDense { function initMeans (line 213) | func initMeans(X *mat.Dense, n_comps, n_feats int) *mat.Dense { function initCovariance (line 229) | func initCovariance(n_comps, n_feats int) []*mat.SymDense { function distance (line 240) | func distance(p Params, p_new Params) float64 { function vectorMin (line 255) | func vectorMin(v mat.Vector) float64 { function vectorMax (line 267) | func vectorMax(v mat.Vector) float64 { function vecToInts (line 279) | func vecToInts(v mat.Vector) []int { function means (line 289) | func means(X *mat.Dense) []float64 { function where (line 304) | func where(X *mat.Dense, y mat.Vector, target int) *mat.Dense { function identity (line 321) | func identity(N int) []float64 { function symVals (line 336) | func symVals(M int, v float64) []float64 { FILE: clustering/em_test.go function TestExpectationMaximization (line 9) | func TestExpectationMaximization(t *testing.T) { function BenchmarkExpectationMaximizationOneRow (line 85) | func BenchmarkExpectationMaximizationOneRow(b *testing.B) { FILE: ensemble/multisvc.go type MultiLinearSVC (line 13) | type MultiLinearSVC struct method initializeOneVsAllModel (line 43) | func (m *MultiLinearSVC) initializeOneVsAllModel() { method Fit (line 71) | func (m *MultiLinearSVC) Fit(instances base.FixedDataGrid) error { method Predict (line 81) | func (m *MultiLinearSVC) Predict(from base.FixedDataGrid) (base.FixedD... method GetClassifierMetadata (line 85) | func (m *MultiLinearSVC) GetClassifierMetadata() base.ClassifierMetada... method Save (line 94) | func (m *MultiLinearSVC) Save(filePath string) error { method SaveWithPrefix (line 108) | func (m *MultiLinearSVC) SaveWithPrefix(serializer *base.ClassifierSer... method GetMetadata (line 130) | func (m *MultiLinearSVC) GetMetadata() base.ClassifierMetadataV1 { method Load (line 139) | func (m *MultiLinearSVC) Load(filePath string) error { method LoadWithPrefix (line 153) | func (m *MultiLinearSVC) LoadWithPrefix(reader *base.ClassifierDeseria... function NewMultiLinearSVC (line 25) | func NewMultiLinearSVC(loss, penalty string, dual bool, C float64, eps f... FILE: ensemble/multisvc_test.go function TestMultiSVMUnweighted (line 11) | func TestMultiSVMUnweighted(t *testing.T) { function TestMultiSVMWeighted (line 54) | func TestMultiSVMWeighted(t *testing.T) { function TestMultiSVMSaved (line 101) | func TestMultiSVMSaved(t *testing.T) { FILE: ensemble/randomforest.go type RandomForest (line 14) | type RandomForest struct method Fit (line 35) | func (f *RandomForest) Fit(on base.FixedDataGrid) error { method Predict (line 56) | func (f *RandomForest) Predict(with base.FixedDataGrid) (base.FixedDat... method String (line 61) | func (f *RandomForest) String() string { method GetMetadata (line 65) | func (f *RandomForest) GetMetadata() base.ClassifierMetadataV1 { method Save (line 74) | func (f *RandomForest) Save(filePath string) error { method SaveWithPrefix (line 85) | func (f *RandomForest) SaveWithPrefix(writer *base.ClassifierSerialize... method Load (line 89) | func (f *RandomForest) Load(filePath string) error { method LoadWithPrefix (line 97) | func (f *RandomForest) LoadWithPrefix(reader *base.ClassifierDeseriali... function NewRandomForest (line 24) | func NewRandomForest(forestSize int, features int) *RandomForest { FILE: ensemble/randomforest_test.go function TestRandomForest (line 15) | func TestRandomForest(t *testing.T) { function TestRandomForestSerialization (line 60) | func TestRandomForestSerialization(t *testing.T) { FILE: evaluation/confusion.go type ConfusionMatrix (line 13) | type ConfusionMatrix function GetConfusionMatrix (line 17) | func GetConfusionMatrix(ref base.FixedDataGrid, gen base.FixedDataGrid) ... function GetTruePositives (line 42) | func GetTruePositives(class string, c ConfusionMatrix) float64 { function GetFalsePositives (line 48) | func GetFalsePositives(class string, c ConfusionMatrix) float64 { function GetFalseNegatives (line 61) | func GetFalseNegatives(class string, c ConfusionMatrix) float64 { function GetTrueNegatives (line 74) | func GetTrueNegatives(class string, c ConfusionMatrix) float64 { function GetPrecision (line 92) | func GetPrecision(class string, c ConfusionMatrix) float64 { function GetRecall (line 101) | func GetRecall(class string, c ConfusionMatrix) float64 { function GetF1Score (line 110) | func GetF1Score(class string, c ConfusionMatrix) float64 { function GetAccuracy (line 118) | func GetAccuracy(c ConfusionMatrix) float64 { function GetMicroPrecision (line 134) | func GetMicroPrecision(c ConfusionMatrix) float64 { function GetMacroPrecision (line 146) | func GetMacroPrecision(c ConfusionMatrix) float64 { function GetMicroRecall (line 156) | func GetMicroRecall(c ConfusionMatrix) float64 { function GetMacroRecall (line 168) | func GetMacroRecall(c ConfusionMatrix) float64 { function GetSummary (line 179) | func GetSummary(c ConfusionMatrix) string { function ShowConfusionMatrix (line 204) | func ShowConfusionMatrix(c ConfusionMatrix) string { FILE: evaluation/confusion_test.go function TestMetrics (line 9) | func TestMetrics(t *testing.T) { FILE: evaluation/cross_fold.go function GetCrossValidatedMetric (line 10) | func GetCrossValidatedMetric(in []ConfusionMatrix, metric func(Confusion... function GenerateCrossFoldValidationConfusionMatrices (line 34) | func GenerateCrossFoldValidationConfusionMatrices(data base.FixedDataGri... FILE: evaluation/cross_fold_test.go function TestCrossFold (line 10) | func TestCrossFold(t *testing.T) { FILE: examples/averageperceptron/averageperceptionexample.go function main (line 11) | func main() { FILE: examples/crossfold/rf.go function main (line 14) | func main() { FILE: examples/instances/instances.go function main (line 10) | func main() { FILE: examples/knnclassifier/knnclassifier_iris.go function main (line 11) | func main() { FILE: examples/serialization/attributes.go function main (line 11) | func main() { FILE: examples/trees/cart/cart.go function main (line 12) | func main() { FILE: examples/trees/id3/trees.go function main (line 16) | func main() { FILE: examples/trees/isolationForest/isolation_forest.go function main (line 12) | func main() { FILE: filters/binary.go type BinaryConvertFilter (line 16) | type BinaryConvertFilter struct method AddAttribute (line 35) | func (b *BinaryConvertFilter) AddAttribute(a base.Attribute) error { method GetAttributesAfterFiltering (line 41) | func (b *BinaryConvertFilter) GetAttributesAfterFiltering() []base.Fil... method String (line 46) | func (b *BinaryConvertFilter) String() string { method Transform (line 62) | func (b *BinaryConvertFilter) Transform(a base.Attribute, n base.Attri... method Train (line 117) | func (b *BinaryConvertFilter) Train() error { function NewBinaryConvertFilter (line 24) | func NewBinaryConvertFilter() *BinaryConvertFilter { FILE: filters/binary_test.go function TestBinaryFilterClassPreservation (line 9) | func TestBinaryFilterClassPreservation(t *testing.T) { function TestBinaryFilter (line 43) | func TestBinaryFilter(t *testing.T) { FILE: filters/binning.go type BinningFilter (line 12) | type BinningFilter struct method String (line 34) | func (b *BinningFilter) String() string { method Train (line 40) | func (b *BinningFilter) Train() error { method Transform (line 76) | func (b *BinningFilter) Transform(a base.Attribute, n base.Attribute, ... method GetAttributesAfterFiltering (line 101) | func (b *BinningFilter) GetAttributesAfterFiltering() []base.FilteredA... function NewBinningFilter (line 21) | func NewBinningFilter(d base.FixedDataGrid, bins int) *BinningFilter { FILE: filters/binning_test.go function TestBinning (line 9) | func TestBinning(t *testing.T) { FILE: filters/chimerge.go type ChiMergeFilter (line 14) | type ChiMergeFilter struct method Train (line 116) | func (c *ChiMergeFilter) Train() error { method GetAttributesAfterFiltering (line 147) | func (c *ChiMergeFilter) GetAttributesAfterFiltering() []base.Filtered... method Transform (line 166) | func (c *ChiMergeFilter) Transform(a base.Attribute, n base.Attribute,... method String (line 186) | func (c *ChiMergeFilter) String() string { function NewChiMergeFilter (line 23) | func NewChiMergeFilter(d base.FixedDataGrid, significance float64) *ChiM... function chiMerge (line 48) | func chiMerge(inst base.FixedDataGrid, attr base.Attribute, sig float64,... FILE: filters/chimerge_freq.go type FrequencyTableEntry (line 8) | type FrequencyTableEntry struct method String (line 13) | func (t *FrequencyTableEntry) String() string { FILE: filters/chimerge_funcs.go function ChiMBuildFrequencyTable (line 8) | func ChiMBuildFrequencyTable(attr base.Attribute, inst base.FixedDataGri... function chiSquaredPdf (line 44) | func chiSquaredPdf(k float64, x float64) float64 { function chiSquaredPercentile (line 53) | func chiSquaredPercentile(k int, x float64) float64 { function chiCountClasses (line 87) | func chiCountClasses(entries []*FrequencyTableEntry) map[string]int { function chiComputeStatistic (line 97) | func chiComputeStatistic(entry1 *FrequencyTableEntry, entry2 *FrequencyT... function chiMergeMergeZipAdjacent (line 159) | func chiMergeMergeZipAdjacent(freq []*FrequencyTableEntry, minIndex int)... FILE: filters/chimerge_test.go function TestChiMergeFrequencyTable (line 11) | func TestChiMergeFrequencyTable(t *testing.T) { function TestChiSquaredDistribution (line 39) | func TestChiSquaredDistribution(t *testing.T) { function TestChiMergeDiscretization (line 47) | func TestChiMergeDiscretization(t *testing.T) { function TestChiMergeFilter (line 96) | func TestChiMergeFilter(t *testing.T) { FILE: filters/disc.go type AbstractDiscretizeFilter (line 8) | type AbstractDiscretizeFilter struct method AddAttribute (line 16) | func (d *AbstractDiscretizeFilter) AddAttribute(a base.Attribute) error { method GetAttributesAfterFiltering (line 30) | func (d *AbstractDiscretizeFilter) GetAttributesAfterFiltering() []bas... method getAttributeSpecs (line 45) | func (d *AbstractDiscretizeFilter) getAttributeSpecs() []base.Attribut... FILE: filters/float.go type FloatConvertFilter (line 16) | type FloatConvertFilter struct method AddAttribute (line 35) | func (f *FloatConvertFilter) AddAttribute(a base.Attribute) error { method GetAttributesAfterFiltering (line 41) | func (f *FloatConvertFilter) GetAttributesAfterFiltering() []base.Filt... method String (line 46) | func (f *FloatConvertFilter) String() string { method Transform (line 53) | func (f *FloatConvertFilter) Transform(a base.Attribute, n base.Attrib... method Train (line 107) | func (f *FloatConvertFilter) Train() error { function NewFloatConvertFilter (line 24) | func NewFloatConvertFilter() *FloatConvertFilter { FILE: filters/float_test.go function TestFloatFilter (line 9) | func TestFloatFilter(t *testing.T) { FILE: kdtree/heap.go type heapNode (line 3) | type heapNode struct type heap (line 9) | type heap struct method maximum (line 21) | func (h *heap) maximum() heapNode { method extractMax (line 30) | func (h *heap) extractMax() { method insert (line 63) | func (h *heap) insert(value []float64, length float64, srcRowNo int) { method size (line 81) | func (h *heap) size() int { function newHeap (line 14) | func newHeap() *heap { FILE: kdtree/heap_test.go function TestHeap (line 9) | func TestHeap(t *testing.T) { FILE: kdtree/kdtree.go type node (line 10) | type node struct type Tree (line 19) | type Tree struct method Build (line 42) | func (t *Tree) Build(data [][]float64) error { method buildHandle (line 72) | func (t *Tree) buildHandle(data []int, featureIndex int) *node { method Search (line 116) | func (t *Tree) Search(k int, disType pairwise.PairwiseDistanceFunc, ta... method searchHandle (line 141) | func (t *Tree) searchHandle(k int, disType pairwise.PairwiseDistanceFu... method searchAllNodes (line 194) | func (t *Tree) searchAllNodes(k int, disType pairwise.PairwiseDistance... type SortData (line 24) | type SortData struct method Len (line 30) | func (d SortData) Len() int { return len(d.Data) } method Less (line 31) | func (d SortData) Less(i, j int) bool { method Swap (line 34) | func (d SortData) Swap(i, j int) { d.Data[i], d.Data[j] = d.Data[j], d... function New (line 37) | func New() *Tree { FILE: kdtree/kdtree_test.go function TestKdtree (line 10) | func TestKdtree(t *testing.T) { FILE: knn/euclidean.c function euclidean_distance (line 9) | void euclidean_distance ( FILE: knn/knn.go type KNNClassifier (line 24) | type KNNClassifier struct method Fit (line 46) | func (KNN *KNNClassifier) Fit(trainingData base.FixedDataGrid) error { method canUseOptimisations (line 51) | func (KNN *KNNClassifier) canUseOptimisations(what base.FixedDataGrid)... method Predict (line 102) | func (KNN *KNNClassifier) Predict(what base.FixedDataGrid) (base.Fixed... method String (line 268) | func (KNN *KNNClassifier) String() string { method vote (line 272) | func (KNN *KNNClassifier) vote(maxmap map[string]int, values []int) st... method weightedVote (line 300) | func (KNN *KNNClassifier) weightedVote(maxmap map[string]float64, valu... method GetMetadata (line 329) | func (KNN *KNNClassifier) GetMetadata() base.ClassifierMetadataV1 { method Save (line 347) | func (KNN *KNNClassifier) Save(filePath string) error { method SaveWithPrefix (line 357) | func (KNN *KNNClassifier) SaveWithPrefix(writer *base.ClassifierSerial... method Load (line 367) | func (KNN *KNNClassifier) Load(filePath string) error { method LoadWithPrefix (line 377) | func (KNN *KNNClassifier) LoadWithPrefix(reader *base.ClassifierDeseri... function NewKnnClassifier (line 35) | func NewKnnClassifier(distfunc, algorithm string, neighbours int) *KNNCl... function ReloadKNNClassifier (line 408) | func ReloadKNNClassifier(filePath string) (*KNNClassifier, error) { type KNNRegressor (line 418) | type KNNRegressor struct method Fit (line 431) | func (KNN *KNNRegressor) Fit(values []float64, numbers []float64, rows... method Predict (line 440) | func (KNN *KNNRegressor) Predict(vector *mat.Dense, K int) float64 { function NewKnnRegressor (line 425) | func NewKnnRegressor(distfunc string) *KNNRegressor { FILE: knn/knn.h type dist (line 6) | struct dist { type dist (line 14) | struct dist FILE: knn/knn_bench_test.go function readMnist (line 11) | func readMnist() (*base.DenseInstances, *base.DenseInstances) { function BenchmarkKNNWithOpts (line 43) | func BenchmarkKNNWithOpts(b *testing.B) { function BenchmarkKNNWithNoOpts (line 61) | func BenchmarkKNNWithNoOpts(b *testing.B) { FILE: knn/knn_cov_test.go function TestKnnClassifierCov (line 10) | func TestKnnClassifierCov(t *testing.T) { FILE: knn/knn_kdtree_test.go function TestKnnClassifierWithoutOptimisationsWithKdtree (line 10) | func TestKnnClassifierWithoutOptimisationsWithKdtree(t *testing.T) { function TestKnnClassifierWithTemplatedInstances1WithKdtree (line 41) | func TestKnnClassifierWithTemplatedInstances1WithKdtree(t *testing.T) { function TestKnnClassifierWithTemplatedInstances1SubsetWithKdtree (line 56) | func TestKnnClassifierWithTemplatedInstances1SubsetWithKdtree(t *testing... function TestKnnClassifierImplementsClassifierWithKdtree (line 71) | func TestKnnClassifierImplementsClassifierWithKdtree(t *testing.T) { FILE: knn/knn_opt_euclidean.go type dist (line 12) | type dist type distanceRecs (line 14) | type distanceRecs method Len (line 16) | func (d distanceRecs) Len() int { return len(d) } method Swap (line 17) | func (d distanceRecs) Swap(i, j int) { d[i], d[j] = d[j], d[i] } method Less (line 18) | func (d distanceRecs) Less(i, j int) bool { return d[i].dist < d[j].di... method optimisedEuclideanPredict (line 20) | func (KNN *KNNClassifier) optimisedEuclideanPredict(d *base.DenseInstanc... FILE: knn/knn_test.go function TestKnnClassifierWithoutOptimisations (line 11) | func TestKnnClassifierWithoutOptimisations(t *testing.T) { function TestKnnSaveAndReload (line 42) | func TestKnnSaveAndReload(t *testing.T) { function TestKnnClassifierWithOptimisations (line 72) | func TestKnnClassifierWithOptimisations(t *testing.T) { function TestKnnClassifierWithTemplatedInstances1 (line 103) | func TestKnnClassifierWithTemplatedInstances1(t *testing.T) { function TestKnnClassifierWithTemplatedInstances1Subset (line 118) | func TestKnnClassifierWithTemplatedInstances1Subset(t *testing.T) { function TestKnnClassifierImplementsClassifier (line 133) | func TestKnnClassifierImplementsClassifier(t *testing.T) { FILE: knn/knn_weighted_test.go function TestWeightedKnnClassifierWithoutOptimisationsWithKdtree (line 10) | func TestWeightedKnnClassifierWithoutOptimisationsWithKdtree(t *testing.... function TestWeightedKnnClassifierWithTemplatedInstances1WithKdtree (line 42) | func TestWeightedKnnClassifierWithTemplatedInstances1WithKdtree(t *testi... function TestWeightedKnnClassifierWithTemplatedInstances1SubsetWithKdtree (line 58) | func TestWeightedKnnClassifierWithTemplatedInstances1SubsetWithKdtree(t ... function TestWeightedKnnClassifierImplementsClassifierWithKdtree (line 74) | func TestWeightedKnnClassifierImplementsClassifierWithKdtree(t *testing.... function TestWeightedKnnClassifierWithoutOptimisations (line 83) | func TestWeightedKnnClassifierWithoutOptimisations(t *testing.T) { function TestWeightedKnnClassifierWithTemplatedInstances1 (line 115) | func TestWeightedKnnClassifierWithTemplatedInstances1(t *testing.T) { function TestWeightedKnnClassifierWithTemplatedInstances1Subset (line 131) | func TestWeightedKnnClassifierWithTemplatedInstances1Subset(t *testing.T) { function TestWeightedKnnClassifierImplementsClassifier (line 147) | func TestWeightedKnnClassifierImplementsClassifier(t *testing.T) { FILE: linear_models/blas.h type fcomplex (line 12) | typedef struct { float r, i; } fcomplex; type dcomplex (line 13) | typedef struct { double r, i; } dcomplex; type blasbool (line 14) | typedef int blasbool; FILE: linear_models/daxpy.c function daxpy_ (line 3) | int daxpy_(int *n, double *sa, double *sx, int *incx, double *sy, FILE: linear_models/ddot.c function ddot_ (line 3) | double ddot_(int *n, double *sx, int *incx, double *sy, int *incy) FILE: linear_models/dnrm2.c function dnrm2_ (line 4) | double dnrm2_(int *n, double *x, int *incx) FILE: linear_models/dscal.c function dscal_ (line 3) | int dscal_(int *n, double *sa, double *sx, int *incx) FILE: linear_models/liblinear.go type Problem (line 10) | type Problem struct type Parameter (line 14) | type Parameter struct type Model (line 18) | type Model struct constant L2R_LR (line 23) | L2R_LR = C.L2R_LR constant L2R_L2LOSS_SVC_DUAL (line 24) | L2R_L2LOSS_SVC_DUAL = C.L2R_L2LOSS_SVC_DUAL constant L2R_L2LOSS_SVC (line 25) | L2R_L2LOSS_SVC = C.L2R_L2LOSS_SVC constant L2R_L1LOSS_SVC_DUAL (line 26) | L2R_L1LOSS_SVC_DUAL = C.L2R_L1LOSS_SVC_DUAL constant MCSVM_CS (line 27) | MCSVM_CS = C.MCSVM_CS constant L1R_L2LOSS_SVC (line 28) | L1R_L2LOSS_SVC = C.L1R_L2LOSS_SVC constant L1R_LR (line 29) | L1R_LR = C.L1R_LR constant L2R_LR_DUAL (line 30) | L2R_LR_DUAL = C.L2R_LR_DUAL function NewParameter (line 33) | func NewParameter(solver_type int, C float64, eps float64) *Parameter { function NewProblem (line 45) | func NewProblem(X [][]float64, y []float64, bias float64) *Problem { function Train (line 61) | func Train(prob *Problem, param *Parameter) *Model { function Export (line 68) | func Export(model *Model, filePath string) error { function Load (line 76) | func Load(model *Model, filePath string) error { function Predict (line 84) | func Predict(model *Model, x []float64) float64 { function convert_vector (line 90) | func convert_vector(x []float64, bias float64) *C.struct_feature_node { function convert_features (line 116) | func convert_features(X [][]float64, bias float64) **C.struct_feature_no... FILE: linear_models/liblinear_print.go function libLinearPrintFunc (line 19) | func libLinearPrintFunc(str *C.char) { function libLinearHookPrintFunc (line 23) | func libLinearHookPrintFunc() { FILE: linear_models/liblinear_print_11.go function libLinearPrintFunc (line 10) | func libLinearPrintFunc(str *C.char) { function libLinearHookPrintFunc (line 14) | func libLinearHookPrintFunc() { FILE: linear_models/linear.cpp function swap (line 10) | static inline void swap(T& x, T& y) { T t=x; x=y; y=t; } function T (line 12) | static inline T min(T x,T y) { return (xy)?x:y; } function clone (line 17) | static inline void clone(T*& dst, S* src, int n) function print_string_stdout (line 25) | static void print_string_stdout(const char *s) function info (line 34) | static void info(const char *fmt,...) function info (line 44) | static void info(const char *fmt,...) {} class l2r_lr_fun (line 47) | class l2r_lr_fun: public function class l2r_l2_svc_fun (line 191) | class l2r_l2_svc_fun: public function class l2r_l2_svr_fun (line 355) | class l2r_l2_svr_fun: public l2r_l2_svc_fun class Solver_MCSVM_CS (line 456) | class Solver_MCSVM_CS function compare_double (line 492) | int compare_double(const void *a, const void *b) function solve_l2r_l1l2_svc (line 778) | static void solve_l2r_l1l2_svc( function solve_l2r_l1l2_svr (line 996) | static void solve_l2r_l1l2_svr( function solve_l2r_lr_dual (line 1223) | void solve_l2r_lr_dual(const problem *prob, double *w, double eps, doubl... function solve_l1r_l2_svc (line 1397) | static void solve_l1r_l2_svc( function solve_l1r_lr (line 1684) | static void solve_l1r_lr( function transpose (line 2049) | static void transpose(const problem *prob, feature_node **x_space_ret, p... function group_classes (line 2106) | static void group_classes(const problem *prob, int *nr_class_ret, int **... function train_one (line 2181) | static void train_one(const problem *prob, const parameter *param, doubl... function model (line 2293) | model* train(const problem *prob, const parameter *param) function cross_validation (line 2430) | void cross_validation(const problem *prob, const parameter *param, int n... function predict_values (line 2488) | double predict_values(const struct model *model_, const struct feature_n... function predict (line 2537) | double predict(const model *model_, const feature_node *x) function predict_probability (line 2545) | double predict_probability(const struct model *model_, const struct feat... function save_model (line 2587) | int save_model(const char *model_file_name, const struct model *model_) type model (line 2642) | struct model function get_nr_feature (line 2753) | int get_nr_feature(const model *model_) function get_nr_class (line 2758) | int get_nr_class(const model *model_) function get_labels (line 2763) | void get_labels(const model *model_, int* label) function free_model_content (line 2770) | void free_model_content(struct model *model_ptr) function free_and_destroy_model (line 2778) | void free_and_destroy_model(struct model **model_ptr_ptr) function destroy_param (line 2788) | void destroy_param(parameter* param) function check_probability_model (line 2823) | int check_probability_model(const struct model *model_) function set_print_string_function (line 2830) | void set_print_string_function(void (*print_func)(const char*)) FILE: linear_models/linear.h type feature_node (line 8) | struct feature_node type problem (line 14) | struct problem type parameter (line 24) | struct parameter type model (line 37) | struct model type model (line 47) | struct model type problem (line 47) | struct problem type parameter (line 47) | struct parameter type problem (line 48) | struct problem type parameter (line 48) | struct parameter type model (line 50) | struct model type feature_node (line 50) | struct feature_node type model (line 51) | struct model type feature_node (line 51) | struct feature_node type model (line 52) | struct model type feature_node (line 52) | struct feature_node type model (line 54) | struct model type model (line 55) | struct model type model (line 57) | struct model type model (line 58) | struct model type model (line 59) | struct model type model (line 61) | struct model type model (line 62) | struct model type parameter (line 63) | struct parameter type problem (line 65) | struct problem type parameter (line 65) | struct parameter type model (line 66) | struct model FILE: linear_models/linear_models_test.go function TestLogisticRegression (line 9) | func TestLogisticRegression(t *testing.T) { FILE: linear_models/linear_regression.go type LinearRegression (line 18) | type LinearRegression struct method Fit (line 30) | func (lr *LinearRegression) Fit(inst base.FixedDataGrid) error { method Predict (line 110) | func (lr *LinearRegression) Predict(X base.FixedDataGrid) (base.FixedD... function NewLinearRegression (line 26) | func NewLinearRegression() *LinearRegression { FILE: linear_models/linear_regression_test.go function TestLinearRegression (line 10) | func TestLinearRegression(t *testing.T) { function BenchmarkLinearRegressionOneRow (line 68) | func BenchmarkLinearRegressionOneRow(b *testing.B) { FILE: linear_models/linearsvc.go type LinearSVCParams (line 30) | type LinearSVCParams struct method Copy (line 40) | func (p *LinearSVCParams) Copy() *LinearSVCParams { method SetKindFromStrings (line 58) | func (p *LinearSVCParams) SetKindFromStrings(loss, penalty string) err... method convertToNativeFormat (line 106) | func (p *LinearSVCParams) convertToNativeFormat() *Parameter { type LinearSVC (line 111) | type LinearSVC struct method Fit (line 150) | func (lr *LinearSVC) Fit(X base.FixedDataGrid) error { method Predict (line 187) | func (lr *LinearSVC) Predict(X base.FixedDataGrid) (base.FixedDataGrid... method GetMetadata (line 217) | func (lr *LinearSVC) GetMetadata() base.ClassifierMetadataV1 { method Save (line 239) | func (lr *LinearSVC) Save(filePath string) error { method SaveWithPrefix (line 251) | func (lr *LinearSVC) SaveWithPrefix(writer *base.ClassifierSerializer,... method Load (line 294) | func (lr *LinearSVC) Load(filePath string) error { method LoadWithPrefix (line 306) | func (lr *LinearSVC) LoadWithPrefix(reader *base.ClassifierDeserialize... method String (line 334) | func (lr *LinearSVC) String() string { function NewLinearSVC (line 126) | func NewLinearSVC(loss, penalty string, dual bool, C float64, eps float6... function NewLinearSVCFromParams (line 139) | func NewLinearSVCFromParams(params *LinearSVCParams) (*LinearSVC, error) { FILE: linear_models/linearsvc_test.go function TestLinearSVC (line 12) | func TestLinearSVC(t *testing.T) { FILE: linear_models/logistic.go type LogisticRegression (line 9) | type LogisticRegression struct method Fit (line 30) | func (lr *LogisticRegression) Fit(X base.FixedDataGrid) error { method Predict (line 38) | func (lr *LogisticRegression) Predict(X base.FixedDataGrid) (base.Fixe... method String (line 67) | func (lr *LogisticRegression) String() string { function NewLogisticRegression (line 14) | func NewLogisticRegression(penalty string, C float64, eps float64) (*Log... FILE: linear_models/logistic_test.go function TestLogistic (line 9) | func TestLogistic(t *testing.T) { FILE: linear_models/tron.cpp function T (line 8) | static inline T min(T x,T y) { return (xy)?x:y; } function default_print (line 28) | static void default_print(const char *buf) FILE: linear_models/tron.h function class (line 4) | class function function class (line 15) | class TRON FILE: linear_models/util.go function generateClassWeightVectorFromDist (line 8) | func generateClassWeightVectorFromDist(X base.FixedDataGrid) []float64 { function generateClassWeightVectorFromFixed (line 21) | func generateClassWeightVectorFromFixed(X base.FixedDataGrid) []float64 { function convertInstancesToProblemVec (line 37) | func convertInstancesToProblemVec(X base.FixedDataGrid) [][]float64 { function convertInstancesToLabelVec (line 61) | func convertInstancesToLabelVec(X base.FixedDataGrid) []float64 { FILE: meta/bagging.go type BaggedModel (line 14) | type BaggedModel struct method generateTrainingAttrs (line 25) | func (b *BaggedModel) generateTrainingAttrs(model int, from base.Fixed... method generatePredictionInstances (line 61) | func (b *BaggedModel) generatePredictionInstances(model int, from base... method generateTrainingInstances (line 69) | func (b *BaggedModel) generateTrainingInstances(model int, from base.F... method AddModel (line 77) | func (b *BaggedModel) AddModel(m base.Classifier) { method Fit (line 83) | func (b *BaggedModel) Fit(from base.FixedDataGrid) { method Predict (line 103) | func (b *BaggedModel) Predict(from base.FixedDataGrid) (base.FixedData... method String (line 184) | func (b *BaggedModel) String() string { method GetMetadata (line 193) | func (b *BaggedModel) GetMetadata() base.ClassifierMetadataV1 { method Save (line 204) | func (b *BaggedModel) Save(filePath string) error { method Load (line 214) | func (b *BaggedModel) Load(filePath string) error { method SaveWithPrefix (line 232) | func (b *BaggedModel) SaveWithPrefix(writer *base.ClassifierSerializer... method LoadWithPrefix (line 292) | func (b *BaggedModel) LoadWithPrefix(reader *base.ClassifierDeserializ... FILE: meta/bagging_test.go function BenchmarkBaggingRandomForestFit (line 17) | func BenchmarkBaggingRandomForestFit(t *testing.B) { function BenchmarkBaggingRandomForestPredict (line 42) | func BenchmarkBaggingRandomForestPredict(t *testing.B) { function TestBaggedModelRandomForest (line 68) | func TestBaggedModelRandomForest(t *testing.T) { function TestBaggedModelRandomForestSerialization (line 108) | func TestBaggedModelRandomForestSerialization(t *testing.T) { FILE: meta/one_v_all.go type OneVsAllModel (line 12) | type OneVsAllModel struct method Fit (line 37) | func (m *OneVsAllModel) Fit(using base.FixedDataGrid) { method Predict (line 95) | func (m *OneVsAllModel) Predict(what base.FixedDataGrid) (base.FixedDa... method Load (line 132) | func (m *OneVsAllModel) Load(filePath string) error { method LoadWithPrefix (line 143) | func (m *OneVsAllModel) LoadWithPrefix(reader *base.ClassifierDeserial... method GetMetadata (line 243) | func (m *OneVsAllModel) GetMetadata() base.ClassifierMetadataV1 { method Save (line 252) | func (m *OneVsAllModel) Save(filePath string) error { method SaveWithPrefix (line 260) | func (m *OneVsAllModel) SaveWithPrefix(writer *base.ClassifierSerializ... method generateAttributes (line 330) | func (m *OneVsAllModel) generateAttributes(from base.FixedDataGrid) ma... function NewOneVsAllModel (line 23) | func NewOneVsAllModel(f func(string) base.Classifier) *OneVsAllModel { type oneVsAllFilter (line 352) | type oneVsAllFilter struct method AddAttribute (line 358) | func (f *oneVsAllFilter) AddAttribute(a base.Attribute) error { method GetAttributesAfterFiltering (line 362) | func (f *oneVsAllFilter) GetAttributesAfterFiltering() []base.Filtered... method String (line 372) | func (f *oneVsAllFilter) String() string { method Transform (line 376) | func (f *oneVsAllFilter) Transform(old, to base.Attribute, seq []byte)... method Train (line 387) | func (f *oneVsAllFilter) Train() error { FILE: meta/one_v_all_test.go function TestOneVsAllModel (line 14) | func TestOneVsAllModel(t *testing.T) { FILE: metrics/pairwise/chebyshev.go type Chebyshev (line 10) | type Chebyshev struct method Distance (line 16) | func (c *Chebyshev) Distance(vectorX *mat.Dense, vectorY *mat.Dense) f... function NewChebyshev (line 12) | func NewChebyshev() *Chebyshev { FILE: metrics/pairwise/chebyshev_test.go function TestChebyshev (line 10) | func TestChebyshev(t *testing.T) { FILE: metrics/pairwise/cosine.go type Cosine (line 9) | type Cosine struct method Dot (line 16) | func (c *Cosine) Dot(vectorX *mat.Dense, vectorY *mat.Dense) float64 { method Distance (line 26) | func (c *Cosine) Distance(vectorX *mat.Dense, vectorY *mat.Dense) floa... function NewCosine (line 11) | func NewCosine() *Cosine { FILE: metrics/pairwise/cosine_test.go function TestCosine (line 10) | func TestCosine(t *testing.T) { FILE: metrics/pairwise/cranberra.go type Cranberra (line 10) | type Cranberra struct method Distance (line 23) | func (c *Cranberra) Distance(vectorX *mat.Dense, vectorY *mat.Dense) f... function NewCranberra (line 12) | func NewCranberra() *Cranberra { function cranberraDistanceStep (line 16) | func cranberraDistanceStep(num float64, denom float64) float64 { FILE: metrics/pairwise/cranberra_test.go function TestCranberrra (line 10) | func TestCranberrra(t *testing.T) { FILE: metrics/pairwise/euclidean.go type Euclidean (line 9) | type Euclidean struct method InnerProduct (line 16) | func (e *Euclidean) InnerProduct(vectorX *mat.Dense, vectorY *mat.Dens... method Distance (line 26) | func (e *Euclidean) Distance(vectorX *mat.Dense, vectorY *mat.Dense) f... function NewEuclidean (line 11) | func NewEuclidean() *Euclidean { FILE: metrics/pairwise/euclidean_test.go function TestEuclidean (line 10) | func TestEuclidean(t *testing.T) { FILE: metrics/pairwise/manhattan.go type Manhattan (line 10) | type Manhattan struct method Distance (line 18) | func (m *Manhattan) Distance(vectorX *mat.Dense, vectorY *mat.Dense) f... function NewManhattan (line 12) | func NewManhattan() *Manhattan { FILE: metrics/pairwise/manhattan_test.go function TestManhattan (line 10) | func TestManhattan(t *testing.T) { FILE: metrics/pairwise/pairwise.go type PairwiseDistanceFunc (line 8) | type PairwiseDistanceFunc interface FILE: metrics/pairwise/poly_kernel.go type PolyKernel (line 9) | type PolyKernel struct method InnerProduct (line 20) | func (p *PolyKernel) InnerProduct(vectorX *mat.Dense, vectorY *mat.Den... method Distance (line 30) | func (p *PolyKernel) Distance(vectorX *mat.Dense, vectorY *mat.Dense) ... function NewPolyKernel (line 14) | func NewPolyKernel(degree int) *PolyKernel { FILE: metrics/pairwise/poly_kernel_test.go function TestPolyKernel (line 10) | func TestPolyKernel(t *testing.T) { FILE: metrics/pairwise/rbf_kernel.go type RBFKernel (line 9) | type RBFKernel struct method InnerProduct (line 20) | func (r *RBFKernel) InnerProduct(vectorX *mat.Dense, vectorY *mat.Dens... function NewRBFKernel (line 14) | func NewRBFKernel(gamma float64) *RBFKernel { FILE: metrics/pairwise/rbf_kernel_test.go function TestRBFKernel (line 10) | func TestRBFKernel(t *testing.T) { FILE: naive/bernoulli_nb.go type BernoulliNBClassifier (line 40) | type BernoulliNBClassifier struct method String (line 59) | func (nb *BernoulliNBClassifier) String() string { method GetMetadata (line 63) | func (nb *BernoulliNBClassifier) GetMetadata() base.ClassifierMetadata... method Save (line 72) | func (nb *BernoulliNBClassifier) Save(filePath string) error { method Load (line 82) | func (nb *BernoulliNBClassifier) Load(filePath string) error { method LoadWithPrefix (line 91) | func (nb *BernoulliNBClassifier) LoadWithPrefix(reader *base.Classifie... method SaveWithPrefix (line 138) | func (nb *BernoulliNBClassifier) SaveWithPrefix(writer *base.Classifie... method Fit (line 189) | func (nb *BernoulliNBClassifier) Fit(X base.FixedDataGrid) error { method PredictOne (line 277) | func (nb *BernoulliNBClassifier) PredictOne(vector [][]byte) string { method Predict (line 321) | func (nb *BernoulliNBClassifier) Predict(what base.FixedDataGrid) (bas... function NewBernoulliNBClassifier (line 179) | func NewBernoulliNBClassifier() *BernoulliNBClassifier { FILE: naive/bernoulli_nb_test.go function TestNoFit (line 12) | func TestNoFit(t *testing.T) { function convertToBinary (line 23) | func convertToBinary(src base.FixedDataGrid) base.FixedDataGrid { function TestSerialize (line 35) | func TestSerialize(t *testing.T) { function TestSimple (line 69) | func TestSimple(t *testing.T) { FILE: neural/layered.go type MultiLayerNet (line 21) | type MultiLayerNet struct method String (line 51) | func (m *MultiLayerNet) String() string { method convertToFloatInsts (line 55) | func (m *MultiLayerNet) convertToFloatInsts(X base.FixedDataGrid) base... method Predict (line 73) | func (m *MultiLayerNet) Predict(X base.FixedDataGrid) base.FixedDataGr... method Fit (line 164) | func (m *MultiLayerNet) Fit(X base.FixedDataGrid) { function NewMultiLayerNet (line 37) | func NewMultiLayerNet(layers []int) *MultiLayerNet { FILE: neural/layered_test.go function TestLayerStructureNoHidden (line 10) | func TestLayerStructureNoHidden(t *testing.T) { function TestLayeredXOR (line 110) | func TestLayeredXOR(t *testing.T) { function TestLayeredXORInline (line 159) | func TestLayeredXORInline(t *testing.T) { FILE: neural/network.go type Network (line 13) | type Network struct method String (line 46) | func (n *Network) String() string { method GetWeight (line 68) | func (n *Network) GetWeight(src, target int) float64 { method SetWeight (line 76) | func (n *Network) SetWeight(src, target int, v float64) { method SetBias (line 83) | func (n *Network) SetBias(node int, v float64) { method GetBias (line 92) | func (n *Network) GetBias(node int) float64 { method Activate (line 107) | func (n *Network) Activate(with *mat.Dense, maxIterations int) { method UpdateWeights (line 131) | func (n *Network) UpdateWeights(out, err *mat.Dense, learnRate float64) { method UpdateBias (line 154) | func (n *Network) UpdateBias(err *mat.Dense, learnRate float64) { method Error (line 175) | func (n *Network) Error(outArg, errArg *mat.Dense, maxIterations int) ... function NewNetwork (line 28) | func NewNetwork(size int, input int, f NeuralFunction) *Network { FILE: neural/network_test.go function TestNetworkWith1Layer (line 9) | func TestNetworkWith1Layer(t *testing.T) { FILE: neural/neural.go type ActivationFunction (line 8) | type ActivationFunction type NeuralFunction (line 12) | type NeuralFunction struct type LayerFunc (line 19) | type LayerFunc FILE: pca/pca.go type PCA (line 8) | type PCA struct method FitTransform (line 20) | func (pca *PCA) FitTransform(X *mat.Dense) *mat.Dense { method Fit (line 25) | func (pca *PCA) Fit(X *mat.Dense) *PCA { method Transform (line 44) | func (pca *PCA) Transform(X *mat.Dense) *mat.Dense { function NewPCA (line 14) | func NewPCA(num_components int) *PCA { function mean (line 67) | func mean(matrix *mat.Dense) *mat.Dense { function matrixSubVector (line 78) | func matrixSubVector(mat, vec *mat.Dense) *mat.Dense { function compute (line 93) | func compute(X, Y mat.Matrix) *mat.Dense { FILE: pca/pca_test.go function TestPCAWithZeroComponents (line 10) | func TestPCAWithZeroComponents(t *testing.T) { function TestPCAWithNComponents (line 38) | func TestPCAWithNComponents(t *testing.T) { function TestPCAFitAndTransformSeparately (line 64) | func TestPCAFitAndTransformSeparately(t *testing.T) { function TestPCAWithNilSVD (line 81) | func TestPCAWithNilSVD(t *testing.T) { function TestPCAWithLessThanZeroComponents (line 90) | func TestPCAWithLessThanZeroComponents(t *testing.T) { function TestMatrixAndVectorMismatchDim (line 99) | func TestMatrixAndVectorMismatchDim(t *testing.T) { function TestPCAComponentBiggerThanFeature (line 108) | func TestPCAComponentBiggerThanFeature(t *testing.T) { FILE: perceptron/average.go constant MaxEpochs (line 8) | MaxEpochs = 10 type AveragePerceptron (line 10) | type AveragePerceptron struct method updateWeights (line 29) | func (p *AveragePerceptron) updateWeights(features []float64, correcti... method average (line 43) | func (p *AveragePerceptron) average() { method score (line 54) | func (p *AveragePerceptron) score(datum instance) float64 { method Fit (line 68) | func (p *AveragePerceptron) Fit(trainingData base.FixedDataGrid) { method Predict (line 101) | func (p *AveragePerceptron) Predict(what base.FixedDataGrid) base.Fixe... type instance (line 22) | type instance struct type instances (line 27) | type instances function processData (line 142) | func processData(x base.FixedDataGrid) instances { function NewAveragePerceptron (line 188) | func NewAveragePerceptron(features int, learningRate float64, startingTh... FILE: perceptron/average_test.go function TestProcessData (line 11) | func TestProcessData(t *testing.T) { function TestFit (line 32) | func TestFit(t *testing.T) { function TestPredict (line 56) | func TestPredict(t *testing.T) { function TestCreateAveragePerceptron (line 92) | func TestCreateAveragePerceptron(t *testing.T) { function BenchmarkFit (line 102) | func BenchmarkFit(b *testing.B) { FILE: trees/cart_classifier.go constant GINI (line 15) | GINI string = "gini" constant ENTROPY (line 16) | ENTROPY string = "entropy" type classifierNode (line 21) | type classifierNode struct type CARTDecisionTreeClassifier (line 34) | type CARTDecisionTreeClassifier struct method Fit (line 172) | func (tree *CARTDecisionTreeClassifier) Fit(X base.FixedDataGrid) error { method String (line 319) | func (tree *CARTDecisionTreeClassifier) String() string { method Predict (line 375) | func (tree *CARTDecisionTreeClassifier) Predict(X_test base.FixedDataG... method Evaluate (line 395) | func (tree *CARTDecisionTreeClassifier) Evaluate(test base.FixedDataGr... function convertToMap (line 43) | func convertToMap(y []int64, labels []int64) map[int64]int { function computeGiniImpurityAndModeLabel (line 55) | func computeGiniImpurityAndModeLabel(y []int64, labels []int64) (float64... function computeEntropyAndModeLabel (line 72) | func computeEntropyAndModeLabel(y []int64, labels []int64) (float64, int... function calculateClassificationLoss (line 92) | func calculateClassificationLoss(y []int64, labels []int64, criterion st... function classifierCreateSplit (line 108) | func classifierCreateSplit(data [][]float64, feature int64, y []int64, t... function NewDecisionTreeClassifier (line 130) | func NewDecisionTreeClassifier(criterion string, maxDepth int64, labels ... function classifierReOrderData (line 140) | func classifierReOrderData(featureVal []float64, data [][]float64, y []i... function classifierUpdateSplit (line 158) | func classifierUpdateSplit(left [][]float64, leftY []int64, right [][]fl... function classifierBestSplit (line 193) | func classifierBestSplit(tree CARTDecisionTreeClassifier, data [][]float... function classifierPrintTreeFromNode (line 324) | func classifierPrintTreeFromNode(tree classifierNode, spacing string) st... function classifierPredictSingle (line 358) | func classifierPredictSingle(tree classifierNode, instance []float64) in... function classifierPredictFromNode (line 383) | func classifierPredictFromNode(tree classifierNode, test [][]float64) []... function classifierEvaluateFromNode (line 406) | func classifierEvaluateFromNode(tree classifierNode, xTest [][]float64, ... function classifierConvertInstancesToLabelVec (line 419) | func classifierConvertInstancesToLabelVec(X base.FixedDataGrid) ([]int64... FILE: trees/cart_regressor.go constant MAE (line 15) | MAE string = "mae" constant MSE (line 16) | MSE string = "mse" type regressorNode (line 22) | type regressorNode struct type CARTDecisionTreeRegressor (line 35) | type CARTDecisionTreeRegressor struct method Fit (line 160) | func (tree *CARTDecisionTreeRegressor) Fit(X base.FixedDataGrid) error { method String (line 289) | func (tree *CARTDecisionTreeRegressor) String() string { method Predict (line 347) | func (tree *CARTDecisionTreeRegressor) Predict(X_test base.FixedDataGr... function average (line 43) | func average(y []float64) float64 { function meanAbsoluteError (line 53) | func meanAbsoluteError(y []float64, yBar float64) float64 { function computeMaeImpurityAndAverage (line 63) | func computeMaeImpurityAndAverage(y []float64) (float64, float64) { function meanSquaredError (line 69) | func meanSquaredError(y []float64, yBar float64) float64 { function computeMseImpurityAndAverage (line 80) | func computeMseImpurityAndAverage(y []float64) (float64, float64) { function calculateRegressionLoss (line 85) | func calculateRegressionLoss(y []float64, criterion string) (float64, fl... function regressorCreateSplit (line 98) | func regressorCreateSplit(data [][]float64, feature int64, y []float64, ... function NewDecisionTreeRegressor (line 119) | func NewDecisionTreeRegressor(criterion string, maxDepth int64) *CARTDec... function regressorReOrderData (line 128) | func regressorReOrderData(featureVal []float64, data [][]float64, y []fl... function regressorUpdateSplit (line 146) | func regressorUpdateSplit(left [][]float64, leftY []float64, right [][]f... function regressorBestSplit (line 180) | func regressorBestSplit(tree CARTDecisionTreeRegressor, data [][]float64... function regressorPrintTreeFromNode (line 295) | func regressorPrintTreeFromNode(tree regressorNode, spacing string) stri... function regressorPredictSingle (line 329) | func regressorPredictSingle(tree regressorNode, instance []float64) floa... function regressorPredictFromNode (line 355) | func regressorPredictFromNode(tree regressorNode, test [][]float64) []fl... function regressorConvertInstancesToProblemVec (line 365) | func regressorConvertInstancesToProblemVec(X base.FixedDataGrid) [][]flo... function regressorConvertInstancesToLabelVec (line 390) | func regressorConvertInstancesToLabelVec(X base.FixedDataGrid) ([]float6... FILE: trees/cart_test.go function TestRegressor (line 9) | func TestRegressor(t *testing.T) { FILE: trees/cart_utils.go function findUnique (line 8) | func findUnique(data []float64) []float64 { function getFeature (line 21) | func getFeature(data [][]float64, feature int64) []float64 { function validate (line 31) | func validate(triedSplits [][]float64, feature int64, threshold float64)... function convertInstancesToProblemVec (line 43) | func convertInstancesToProblemVec(X base.FixedDataGrid) [][]float64 { FILE: trees/entropy.go type InformationGainRuleGenerator (line 15) | type InformationGainRuleGenerator struct method GenerateSplitRule (line 23) | func (r *InformationGainRuleGenerator) GenerateSplitRule(f base.FixedD... method GetSplitRuleFromSelection (line 36) | func (r *InformationGainRuleGenerator) GetSplitRuleFromSelection(consi... type numericSplitRef (line 84) | type numericSplitRef struct type splitVec (line 89) | type splitVec method Len (line 91) | func (a splitVec) Len() int { return len(a) } method Swap (line 92) | func (a splitVec) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 93) | func (a splitVec) Less(i, j int) bool { return a[i].val < a[j].val } function getNumericAttributeEntropy (line 95) | func getNumericAttributeEntropy(f base.FixedDataGrid, attr *base.FloatAt... function getSplitEntropyFast (line 165) | func getSplitEntropyFast(s [2][]int) float64 { function getSplitEntropy (line 190) | func getSplitEntropy(s map[string]map[string]int) float64 { function getBaseEntropy (line 213) | func getBaseEntropy(s map[string]int) float64 { FILE: trees/gini.go type GiniCoefficientRuleGenerator (line 14) | type GiniCoefficientRuleGenerator struct method GenerateSplitRule (line 22) | func (g *GiniCoefficientRuleGenerator) GenerateSplitRule(f base.FixedD... method GetSplitRuleFromSelection (line 35) | func (g *GiniCoefficientRuleGenerator) GetSplitRuleFromSelection(consi... function computeGini (line 72) | func computeGini(s map[string]int) float64 { function computeAverageGiniIndex (line 92) | func computeAverageGiniIndex(s map[string]map[string]int) float64 { FILE: trees/gr.go type InformationGainRatioRuleGenerator (line 14) | type InformationGainRatioRuleGenerator struct method GenerateSplitRule (line 22) | func (r *InformationGainRatioRuleGenerator) GenerateSplitRule(f base.F... method GetSplitRuleFromSelection (line 35) | func (r *InformationGainRatioRuleGenerator) GetSplitRuleFromSelection(... FILE: trees/id3.go type NodeType (line 14) | type NodeType constant LeafNode (line 18) | LeafNode NodeType = 1 constant RuleNode (line 20) | RuleNode NodeType = 2 type RuleGenerator (line 25) | type RuleGenerator interface type DecisionTreeRule (line 30) | type DecisionTreeRule struct method MarshalJSON (line 35) | func (d *DecisionTreeRule) MarshalJSON() ([]byte, error) { method unmarshalJSON (line 56) | func (d *DecisionTreeRule) unmarshalJSON(data []byte) error { method UnmarshalJSON (line 86) | func (d *DecisionTreeRule) UnmarshalJSON(data []byte) error { method String (line 92) | func (d *DecisionTreeRule) String() string { type DecisionTreeNode (line 105) | type DecisionTreeNode struct method Save (line 120) | func (d *DecisionTreeNode) Save(filePath string) error { method SaveWithPrefix (line 137) | func (d *DecisionTreeNode) SaveWithPrefix(writer *base.ClassifierSeria... method Load (line 156) | func (d *DecisionTreeNode) Load(filePath string) error { method LoadWithPrefix (line 167) | func (d *DecisionTreeNode) LoadWithPrefix(reader *base.ClassifierDeser... method getNestedString (line 275) | func (d *DecisionTreeNode) getNestedString(level int) string { method String (line 305) | func (d *DecisionTreeNode) String() string { method Prune (line 316) | func (d *DecisionTreeNode) Prune(using base.FixedDataGrid) { method Predict (line 356) | func (d *DecisionTreeNode) Predict(what base.FixedDataGrid) (base.Fixe... function getClassAttr (line 114) | func getClassAttr(from base.FixedDataGrid) base.Attribute { function InferID3Tree (line 191) | func InferID3Tree(from base.FixedDataGrid, with RuleGenerator) *Decision... function computeAccuracy (line 310) | func computeAccuracy(predictions base.FixedDataGrid, from base.FixedData... type ClassProba (line 414) | type ClassProba struct type ClassesProba (line 419) | type ClassesProba method Len (line 421) | func (o ClassesProba) Len() int { method Swap (line 424) | func (o ClassesProba) Swap(i, j int) { method Less (line 427) | func (o ClassesProba) Less(i, j int) bool { type ID3DecisionTree (line 507) | type ID3DecisionTree struct method PredictProba (line 432) | func (t *ID3DecisionTree) PredictProba(what base.FixedDataGrid) (Class... method Fit (line 538) | func (t *ID3DecisionTree) Fit(on base.FixedDataGrid) error { method Predict (line 550) | func (t *ID3DecisionTree) Predict(what base.FixedDataGrid) (base.Fixed... method String (line 555) | func (t *ID3DecisionTree) String() string { method GetMetadata (line 559) | func (t *ID3DecisionTree) GetMetadata() base.ClassifierMetadataV1 { method Save (line 568) | func (t *ID3DecisionTree) Save(filePath string) error { method SaveWithPrefix (line 577) | func (t *ID3DecisionTree) SaveWithPrefix(writer *base.ClassifierSerial... method Load (line 581) | func (t *ID3DecisionTree) Load(filePath string) error { method LoadWithPrefix (line 589) | func (t *ID3DecisionTree) LoadWithPrefix(reader *base.ClassifierDeseri... function NewID3DecisionTree (line 517) | func NewID3DecisionTree(prune float64) *ID3DecisionTree { function NewID3DecisionTreeFromRule (line 528) | func NewID3DecisionTreeFromRule(prune float64, rule RuleGenerator) *ID3D... FILE: trees/id3_test.go function TestId3 (line 11) | func TestId3(t *testing.T) { FILE: trees/isolation.go type IsolationForest (line 10) | type IsolationForest struct method Fit (line 138) | func (iForest *IsolationForest) Fit(X base.FixedDataGrid) { method Predict (line 208) | func (iForest *IsolationForest) Predict(X base.FixedDataGrid) []float64 { function selectFeature (line 18) | func selectFeature(data [][]float64) int64 { function minMax (line 23) | func minMax(feature int64, data [][]float64) (float64, float64) { function selectValue (line 42) | func selectValue(min, max float64) float64 { function splitData (line 53) | func splitData(val float64, feature int64, data [][]float64) ([][]float6... function checkData (line 66) | func checkData(data [][]float64) bool { function buildTree (line 78) | func buildTree(data [][]float64, upperNode regressorNode, depth int, max... function getRandomData (line 120) | func getRandomData(data [][]float64, subSpace int) [][]float64 { function NewIsolationForest (line 129) | func NewIsolationForest(nTrees int, maxDepth int, subSpace int) Isolatio... function pathLength (line 156) | func pathLength(tree regressorNode, instance []float64, path float64) fl... function evaluateInstance (line 182) | func evaluateInstance(instance []float64, forest []regressorNode) []floa... function cFactor (line 191) | func cFactor(n int) float64 { function anomalyScore (line 196) | func anomalyScore(instance []float64, forest []regressorNode, n int) flo... function preprocessData (line 220) | func preprocessData(X base.FixedDataGrid) [][]float64 { FILE: trees/isolation_test.go function TestIsolation (line 9) | func TestIsolation(t *testing.T) { FILE: trees/random.go type RandomTreeRuleGenerator (line 10) | type RandomTreeRuleGenerator struct method GenerateSplitRule (line 17) | func (r *RandomTreeRuleGenerator) GenerateSplitRule(f base.FixedDataGr... type RandomTree (line 51) | type RandomTree struct method Fit (line 71) | func (rt *RandomTree) Fit(from base.FixedDataGrid) error { method Predict (line 77) | func (rt *RandomTree) Predict(from base.FixedDataGrid) (base.FixedData... method String (line 82) | func (rt *RandomTree) String() string { method Prune (line 88) | func (rt *RandomTree) Prune(with base.FixedDataGrid) { method Save (line 93) | func (rt *RandomTree) Save(filePath string) error { method SaveWithPrefix (line 105) | func (rt *RandomTree) SaveWithPrefix(writer *base.ClassifierSerializer... method Load (line 110) | func (rt *RandomTree) Load(filePath string) error { method LoadWithPrefix (line 119) | func (rt *RandomTree) LoadWithPrefix(reader *base.ClassifierDeserializ... method GetMetadata (line 125) | func (rt *RandomTree) GetMetadata() base.ClassifierMetadataV1 { function NewRandomTree (line 59) | func NewRandomTree(attrs int) *RandomTree { FILE: trees/sorter.go type Slice (line 7) | type Slice struct method Swap (line 12) | func (s Slice) Swap(i, j int) { function NewSlice (line 17) | func NewSlice(n []float64) *Slice { FILE: trees/tree_bench_test.go function BenchmarkRandomForestFit (line 9) | func BenchmarkRandomForestFit(b *testing.B) { FILE: trees/tree_test.go function testCanSaveLoadPredictions (line 14) | func testCanSaveLoadPredictions(trainData, testData base.FixedDataGrid) { function verifyTreeClassification (line 48) | func verifyTreeClassification(trainData, testData base.FixedDataGrid) { function TestRandomTreeClassificationAfterDiscretisation (line 176) | func TestRandomTreeClassificationAfterDiscretisation(t *testing.T) { function TestRandomTreeClassificationWithoutDiscretisation (line 194) | func TestRandomTreeClassificationWithoutDiscretisation(t *testing.T) { function TestPRIVATEgetSplitEntropy (line 205) | func TestPRIVATEgetSplitEntropy(t *testing.T) { function TestID3Inference (line 221) | func TestID3Inference(t *testing.T) { function TestPRIVATEgetNumericAttributeEntropy (line 243) | func TestPRIVATEgetNumericAttributeEntropy(t *testing.T) { function itBuildsTheCorrectDecisionTree (line 258) | func itBuildsTheCorrectDecisionTree(root *DecisionTreeNode) { FILE: utilities/utilities.go type sortedIntMap (line 10) | type sortedIntMap struct method Len (line 15) | func (sm *sortedIntMap) Len() int { method Less (line 19) | func (sm *sortedIntMap) Less(i, j int) bool { method Swap (line 23) | func (sm *sortedIntMap) Swap(i, j int) { function SortIntMap (line 27) | func SortIntMap(m map[int]float64) []int { function FloatsToMatrix (line 40) | func FloatsToMatrix(floats []float64) *mat.Dense { function VectorToMatrix (line 44) | func VectorToMatrix(vector mat.Vector) *mat.Dense {