mds

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: BSD-3-Clause Imports: 3 Imported by: 3

Documentation

Overview

Package mds provides multidimensional scaling functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TorgersonScaling

func TorgersonScaling(dst *mat.Dense, eigdst []float64, dis mat.Symmetric) (k int, eig []float64)

TorgersonScaling converts a dissimilarity matrix to a matrix containing Euclidean coordinates. TorgersonScaling places the coordinates in dst and returns it and the number of positive Eigenvalues if successful. If the scaling is not successful, dst will be empty upon return. When the scaling is successful, dst will be resized to k columns wide. Eigenvalues will be copied into eigdst and returned as eig if it is provided.

TorgersonScaling will panic if dst is not empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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