algorithm_dbscan

package
v0.0.0-...-791d115 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: AGPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBSCAN

type DBSCAN struct {
	// contains filtered or unexported fields
}

func (*DBSCAN) Accuracy

func (k *DBSCAN) Accuracy(predict []int64, labels []int64) float64

Accuracy calculates the quality metric

func (*DBSCAN) Fit

func (k *DBSCAN) Fit(data [][]float64) *outData

Fit accepts a data set and divides it into clusters using the DBSCAN method

func (*DBSCAN) InitAlgorithm

func (k *DBSCAN) InitAlgorithm(minSamples int, eps float64)

InitAlgorithm shows tree in console

Jump to

Keyboard shortcuts

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