dbscan

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package dbscan implements the DBSCAN clustering algorithm (https://en.wikipedia.org/wiki/DBSCAN)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteClusters

func WriteClusters(cs []*Cluster, fname string)

WriteClusters writes the set of clusters `cs` to file `fname`.

Types

type Cluster

type Cluster struct {
	Min, Max int
}

func Histogram

func Histogram(h []int, eps, minPts int) []*Cluster

Histogram clusters the bins of a histogram `h`.

Jump to

Keyboard shortcuts

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