hierarchical-spectral-clustering-0.4.0.1: Hierarchical spectral clustering of a graph.

Safe HaskellNone
LanguageHaskell2010

Math.Clustering.Hierarchical.Spectral.Types

Contents

Synopsis

Documentation

data ClusteringVertex a Source #

Constructors

ClusteringVertex 

Fields

Instances
Eq a => Eq (ClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Ord a => Ord (ClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Read a => Read (ClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Show a => Show (ClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Generic (ClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Associated Types

type Rep (ClusteringVertex a) :: Type -> Type #

type Rep (ClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

data GenericClusteringVertex a Source #

Constructors

GenericClusteringVertex 

Fields

Instances
Eq a => Eq (GenericClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Ord a => Ord (GenericClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Read a => Read (GenericClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Show a => Show (GenericClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Generic (GenericClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Associated Types

type Rep (GenericClusteringVertex a) :: Type -> Type #

ToJSON a => ToJSON (GenericClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

FromJSON a => FromJSON (GenericClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

type Rep (GenericClusteringVertex a) Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

data EigenGroup Source #

Constructors

SignGroup 
KMeansGroup 
Instances
Read EigenGroup Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Show EigenGroup Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Generic EigenGroup Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

Associated Types

type Rep EigenGroup :: Type -> Type #

type Rep EigenGroup Source # 
Instance details

Defined in Math.Clustering.Hierarchical.Spectral.Types

type Rep EigenGroup = D1 (MetaData "EigenGroup" "Math.Clustering.Hierarchical.Spectral.Types" "hierarchical-spectral-clustering-0.4.0.1-AZ67eEPapYL5cgLc8HlARN" False) (C1 (MetaCons "SignGroup" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "KMeansGroup" PrefixI False) (U1 :: Type -> Type))

clusteringTreeToDendrogram :: ClusteringTree a -> Dendrogram (Items a) Source #

Convert a ClusteringTree to a Dendrogram. Modularity is the distance.

clusteringTreeToDendrogramCumulative :: ClusteringTree a -> Dendrogram (Items a) Source #

Convert a ClusteringTree to a Dendrogram. Modularity is the distance, such that the distance is the modularity plus the maximum distance of each branch.

clusteringTreeToGenericClusteringTree :: ClusteringTree a -> GenericClusteringTree a Source #

Convert a ClusteringTree to a GenericClusteringVertex tree (more standardized for our purposes).

getClusterItemsDend :: Foldable t => t (Items a) -> [Items a] Source #

Gather clusters (leaves) from the dendrogram.

getClusterItemsTree :: ClusteringTree a -> [Items a] Source #

Gather clusters (leaves) from the tree.

getClusterItemsGenericTree :: GenericClusteringTree a -> [Items a] Source #

Gather clusters (leaves) from the generic tree.

newtype Q #

Constructors

Q 

Fields

Instances
Eq Q 
Instance details

Defined in Math.Modularity.Types

Methods

(==) :: Q -> Q -> Bool #

(/=) :: Q -> Q -> Bool #

Num Q 
Instance details

Defined in Math.Modularity.Types

Methods

(+) :: Q -> Q -> Q #

(-) :: Q -> Q -> Q #

(*) :: Q -> Q -> Q #

negate :: Q -> Q #

abs :: Q -> Q #

signum :: Q -> Q #

fromInteger :: Integer -> Q #

Ord Q 
Instance details

Defined in Math.Modularity.Types

Methods

compare :: Q -> Q -> Ordering #

(<) :: Q -> Q -> Bool #

(<=) :: Q -> Q -> Bool #

(>) :: Q -> Q -> Bool #

(>=) :: Q -> Q -> Bool #

max :: Q -> Q -> Q #

min :: Q -> Q -> Q #

Read Q 
Instance details

Defined in Math.Modularity.Types

Show Q 
Instance details

Defined in Math.Modularity.Types

Methods

showsPrec :: Int -> Q -> ShowS #

show :: Q -> String #

showList :: [Q] -> ShowS #

Generic Q 
Instance details

Defined in Math.Modularity.Types

Associated Types

type Rep Q :: Type -> Type #

Methods

from :: Q -> Rep Q x #

to :: Rep Q x -> Q #

type Rep Q 
Instance details

Defined in Math.Modularity.Types

type Rep Q = D1 (MetaData "Q" "Math.Modularity.Types" "modularity-0.2.1.0-HLcugHyCzeR5PfyMl5fTt0" True) (C1 (MetaCons "Q" PrefixI True) (S1 (MetaSel (Just "unQ") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)))

Orphan instances

Read a => Read (Dendrogram a) Source # 
Instance details

Generic (Dendrogram a) Source # 
Instance details

Associated Types

type Rep (Dendrogram a) :: Type -> Type #

Methods

from :: Dendrogram a -> Rep (Dendrogram a) x #

to :: Rep (Dendrogram a) x -> Dendrogram a #

ToJSON a => ToJSON (Dendrogram a) Source # 
Instance details

FromJSON a => FromJSON (Dendrogram a) Source # 
Instance details