cluster

package
v0.0.0-...-23d3d9b Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterTrajectoriesDirectly

func ClusterTrajectoriesDirectly(exp *trajectory.Experiment, granularities []int, path string) error

ClusterTrajectoriesDirectly performs clustering of the trajectories that have been calculated for a given experiment. It does a pairwise comparison of all trajectories by calculating the jaccard similarity coefficients. Subsequently, MCL clustering is used to group the trajectories by jaccard similarity into clusters.

func Mcl

func Mcl(mciFilePath string, granularity int) error

Mcl calls the mcl binary.

func McxDump

func McxDump(clusterFileName string, tabFileName string, outFileName string, granularity int) error

McxDump calls the mcxdump binary.

func McxLoadAbc

func McxLoadAbc(abcFilePath string, tabFilePath string, mciFilePath string) error

McxLoadAbc calls the mcxload binary for an abc-file.

func SorensenDiceTrajectory

func SorensenDiceTrajectory(t1, t2 *trajectory.Trajectory) float64

SorensenDiceTrajectory computes the SorensenDice similarity coefficient for two given trajectories.

func SzymkiewiczSimpsonTrajectory

func SzymkiewiczSimpsonTrajectory(t1, t2 *trajectory.Trajectory) float64

SzymkiewiczSimpsonTrajectory computes the Szymkiewicz-Simpson similarity coefficient for two given trajectories.

Types

This section is empty.

Jump to

Keyboard shortcuts

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