top

Package knn implements a K Nearest Neighbors object, capable of both classification and regression. It accepts data in the form of a slice of float64s, which are then reshaped into a X by Y matrix.

Imports 5 package(s)

  1. github.com/gonum/matrix
  2. github.com/gonum/matrix/mat64
  3. github.com/sjwhitworth/golearn/metrics/pairwise
  4. github.com/sjwhitworth/golearn/utilities
  5. github.com/sjwhitworth/golearn/base

Test imports 2 package(s)

  1. github.com/smartystreets/goconvey/convey
  2. github.com/sjwhitworth/golearn/evaluation