Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type ClusteringTree a = Tree (ClusteringVertex a)
- data ClusteringVertex a = ClusteringVertex {
- _clusteringItems :: !(Items a)
- _ngMod :: !Q
- type GenericClusteringTree a = Tree (GenericClusteringVertex a)
- data GenericClusteringVertex a = GenericClusteringVertex {}
- data EigenGroup
- clusteringTreeToDendrogram :: ClusteringTree a -> Dendrogram (Items a)
- clusteringTreeToDendrogramCumulative :: ClusteringTree a -> Dendrogram (Items a)
- clusteringTreeToGenericClusteringTree :: ClusteringTree a -> GenericClusteringTree a
- getClusterItemsDend :: Foldable t => t (Items a) -> [Items a]
- getClusterItemsTree :: ClusteringTree a -> [Items a]
- getClusterItemsGenericTree :: GenericClusteringTree a -> [Items a]
- newtype Q = Q {}
- type NumEigen = Int
Documentation
type ClusteringTree a = Tree (ClusteringVertex a) Source #
data ClusteringVertex a Source #
ClusteringVertex | |
|
Instances
type GenericClusteringTree a = Tree (GenericClusteringVertex a) Source #
data GenericClusteringVertex a Source #
Instances
data EigenGroup Source #
Instances
Read EigenGroup Source # | |
Defined in Math.Clustering.Hierarchical.Spectral.Types readsPrec :: Int -> ReadS EigenGroup # readList :: ReadS [EigenGroup] # readPrec :: ReadPrec EigenGroup # readListPrec :: ReadPrec [EigenGroup] # | |
Show EigenGroup Source # | |
Defined in Math.Clustering.Hierarchical.Spectral.Types showsPrec :: Int -> EigenGroup -> ShowS # show :: EigenGroup -> String # showList :: [EigenGroup] -> ShowS # | |
Generic EigenGroup Source # | |
Defined in Math.Clustering.Hierarchical.Spectral.Types type Rep EigenGroup :: Type -> Type # from :: EigenGroup -> Rep EigenGroup x # to :: Rep EigenGroup x -> EigenGroup # | |
type Rep EigenGroup Source # | |
Defined in Math.Clustering.Hierarchical.Spectral.Types |
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.
Orphan instances
Read a => Read (Dendrogram a) Source # | |
readsPrec :: Int -> ReadS (Dendrogram a) # readList :: ReadS [Dendrogram a] # readPrec :: ReadPrec (Dendrogram a) # readListPrec :: ReadPrec [Dendrogram a] # | |
Generic (Dendrogram a) Source # | |
type Rep (Dendrogram a) :: Type -> Type # from :: Dendrogram a -> Rep (Dendrogram a) x # to :: Rep (Dendrogram a) x -> Dendrogram a # | |
ToJSON a => ToJSON (Dendrogram a) Source # | |
toJSON :: Dendrogram a -> Value # toEncoding :: Dendrogram a -> Encoding # toJSONList :: [Dendrogram a] -> Value # toEncodingList :: [Dendrogram a] -> Encoding # | |
FromJSON a => FromJSON (Dendrogram a) Source # | |
parseJSON :: Value -> Parser (Dendrogram a) # parseJSONList :: Value -> Parser [Dendrogram a] # |