Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- hierarchicalSpectralCluster :: EigenGroup -> NormalizeFlag -> Maybe NumEigen -> Maybe Int -> Maybe Q -> Items a -> Either FeatureMatrix B -> ClusteringTree a
- hierarchicalSpectralClusterAdj :: Show a => EigenGroup -> Maybe NumEigen -> Maybe Int -> Maybe Q -> Items a -> AdjacencyMatrix -> ClusteringTree a
- type FeatureMatrix = Matrix Double
- newtype B = B {}
- type Items a = Vector a
- type ShowB = ((Int, Int), [(Int, Int, Double)])
Documentation
hierarchicalSpectralCluster :: EigenGroup -> NormalizeFlag -> Maybe NumEigen -> Maybe Int -> Maybe Q -> Items a -> Either FeatureMatrix B -> ClusteringTree a Source #
Generates a tree through divisive hierarchical clustering using Newman-Girvan modularity as a stopping criteria. Can use minimum number of observations in a cluster as a stopping criteria. Assumes the feature matrix has column features and row observations. Items correspond to rows. Can use FeatureMatrix or a pre-generated B matrix. See Shu et al., "Efficient Spectral Neighborhood Blocking for Entity Resolution", 2011.
hierarchicalSpectralClusterAdj :: Show a => EigenGroup -> Maybe NumEigen -> Maybe Int -> Maybe Q -> Items a -> AdjacencyMatrix -> ClusteringTree a Source #
Generates a tree through divisive hierarchical clustering using Newman-Girvan modularity as a stopping criteria. Can also use minimum number of observations in a cluster as the stopping criteria.
type FeatureMatrix = Matrix Double Source #
Normed rows of B2. For a complete explanation, see Shu et al., "Efficient Spectral Neighborhood Blocking for Entity Resolution", 2011.