classification

package
v0.0.0-...-6817af9 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: GPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AUC

func AUC(x, y []float64) float64

func BatchClassifyMultiTrack

func BatchClassifyMultiTrack(config SessionConfig, classifier MatrixBatchClassifier, tracks []Track, transposed bool, args ...interface{}) (MutableTrack, error)

func BatchClassifySingleTrack

func BatchClassifySingleTrack(config SessionConfig, classifier VectorBatchClassifier, track Track, args ...interface{}) (MutableTrack, error)

Run classifier sequentially on a single track

func BatchClassifySingleTracks

func BatchClassifySingleTracks(config SessionConfig, classifiers []VectorBatchClassifier, tracks []Track, args ...interface{}) (MutableTrack, error)

Run several independent classifiers and combine results

func ClassifyMultiTrack

func ClassifyMultiTrack(config SessionConfig, classifier MatrixClassifier, tracks []Track, transposed bool, args ...interface{}) (MutableTrack, error)

func ClassifyMultiTrackData

func ClassifyMultiTrackData(config SessionConfig, classifier MatrixBatchClassifier, data []Matrix, transposed bool, args ...interface{}) ([]float64, error)

func ClassifySingleTrack

func ClassifySingleTrack(config SessionConfig, classifier VectorClassifier, track Track, args ...interface{}) (MutableTrack, error)

func ClassifySingleTrackData

func ClassifySingleTrackData(config SessionConfig, classifier VectorBatchClassifier, x []Vector, args ...interface{}) ([]float64, error)

func GetIntersectingPeaks

func GetIntersectingPeaks(tracks []Track, thresholds []float64, wsize int) (GRanges, error)

func GetJointPeaks

func GetJointPeaks(tracks []Track, thresholds []float64, wsize int) (GRanges, error)

func GetPeaks

func GetPeaks(track Track, threshold float64, wsize int) GRanges

func GetPredictions

func GetPredictions(tracks []Track, thresholds []float64, wsize int) (GRanges, error)

func ImportAndBatchClassifyMultiTrack

func ImportAndBatchClassifyMultiTrack(config SessionConfig, classifier MatrixBatchClassifier, trackFiles []string, transposed bool, args ...interface{}) (MutableTrack, error)

func ImportAndBatchClassifySingleTrack

func ImportAndBatchClassifySingleTrack(config SessionConfig, classifier VectorBatchClassifier, trackFile string, args ...interface{}) (MutableTrack, error)

func ImportAndBatchClassifySingleTracks

func ImportAndBatchClassifySingleTracks(config SessionConfig, classifiers []VectorBatchClassifier, trackFiles []string, args ...interface{}) (MutableTrack, error)

func ImportAndClassifyMultiTrack

func ImportAndClassifyMultiTrack(config SessionConfig, classifier MatrixClassifier, trackFiles []string, transposed bool, args ...interface{}) (MutableTrack, error)

func Performance

func Performance(groundtruth []int, test []float64, n int) ([]float64, []int, []int, []int, []int)

func PrecisionRecallCurve

func PrecisionRecallCurve(groundtruth []int, test []float64, n int) ([]float64, []float64, []float64)

func RocCurve

func RocCurve(groundtruth []int, test []float64, n int) ([]float64, []float64, []float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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