Copyright | (c) CNRS 2017-Present |
---|---|
License | AGPL + CECILL v3 |
Maintainer | team@gargantext.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- toPhylo :: Phylo -> Phylo
- squareLadder :: [Double] -> [Double]
- adaptSeaLadder :: Double -> Set Double -> Set Double -> [Double]
- constSeaLadder :: Double -> Double -> Set Double -> [Double]
- evolvSeaLadder :: Double -> Double -> Map Int Double -> Set Double -> [((PhyloGroup, PhyloGroup), Double)] -> [Double]
- findSeaLadder :: Phylo -> Phylo
- appendGroups :: (a -> Period -> (Text, Text) -> Scale -> Int -> [Cooc] -> Map Int Double -> PhyloGroup) -> Scale -> Map (Date, Date) [a] -> Phylo -> Phylo
- clusterToGroup :: Clustering -> Period -> (Text, Text) -> Scale -> Int -> [Cooc] -> Map Int Double -> PhyloGroup
- indexDates' :: Map (Date, Date) [Document] -> Map (Date, Date) (Text, Text)
- joinRoots :: Phylo -> Phylo
- maybeDefaultParams :: Phylo -> Phylo
- toPhyloWithoutLink :: [Document] -> PhyloConfig -> Phylo
- filterClique :: Bool -> Int -> (Int -> [Clustering] -> [Clustering]) -> Map (Date, Date) [Clustering] -> Map (Date, Date) [Clustering]
- filterCliqueBySupport :: Int -> [Clustering] -> [Clustering]
- filterCliqueBySize :: Int -> [Clustering] -> [Clustering]
- filterCliqueByNested :: Map (Date, Date) [Clustering] -> Map (Date, Date) [Clustering]
- toSeriesOfClustering :: Phylo -> Map (Date, Date) [Document] -> Map (Date, Date) [Clustering]
- docsToTimeScaleCooc :: [Document] -> Vector Ngrams -> Map Date Cooc
- groupDocsByPeriodRec :: (NFData doc, Ord date, Enum date) => (doc -> date) -> [(date, date)] -> [doc] -> Map (date, date) [doc] -> Map (date, date) [doc]
- groupDocsByPeriod' :: (NFData doc, Ord date, Enum date) => (doc -> date) -> [(date, date)] -> [doc] -> Map (date, date) [doc]
- groupDocsByPeriod :: (NFData doc, Ord date, Enum date) => (doc -> date) -> [(date, date)] -> [doc] -> Map (date, date) [doc]
- docsToTermFreq :: [Document] -> Vector Ngrams -> Map Int Double
- docsToTermCount :: [Document] -> Vector Ngrams -> Map Int Double
- docsToTimeTermCount :: [Document] -> Vector Ngrams -> Map Date (Map Int Double)
- docsToLastTermFreq :: Int -> [Document] -> Vector Ngrams -> Map Int Double
- docsToTimeScaleNb :: [Document] -> Map Date Double
- initPhyloScales :: Int -> Period -> Map PhyloScaleId PhyloScale
- setDefault :: PhyloConfig -> TimeUnit -> Int -> PhyloConfig
- initPhylo :: [Document] -> PhyloConfig -> Phylo
Documentation
squareLadder :: [Double] -> [Double] #
Create a flat Phylo | --
evolvSeaLadder :: Double -> Double -> Map Int Double -> Set Double -> [((PhyloGroup, PhyloGroup), Double)] -> [Double] #
findSeaLadder :: Phylo -> Phylo #
appendGroups :: (a -> Period -> (Text, Text) -> Scale -> Int -> [Cooc] -> Map Int Double -> PhyloGroup) -> Scale -> Map (Date, Date) [a] -> Phylo -> Phylo #
clusterToGroup :: Clustering -> Period -> (Text, Text) -> Scale -> Int -> [Cooc] -> Map Int Double -> PhyloGroup #
maybeDefaultParams :: Phylo -> Phylo #
toPhyloWithoutLink :: [Document] -> PhyloConfig -> Phylo #
filterClique :: Bool -> Int -> (Int -> [Clustering] -> [Clustering]) -> Map (Date, Date) [Clustering] -> Map (Date, Date) [Clustering] #
Frequent Item Set | --
filterCliqueBySupport :: Int -> [Clustering] -> [Clustering] #
filterCliqueBySize :: Int -> [Clustering] -> [Clustering] #
filterCliqueByNested :: Map (Date, Date) [Clustering] -> Map (Date, Date) [Clustering] #
toSeriesOfClustering :: Phylo -> Map (Date, Date) [Document] -> Map (Date, Date) [Clustering] #
To transform a time map of docs into a time map of Fis with some filters
groupDocsByPeriodRec :: (NFData doc, Ord date, Enum date) => (doc -> date) -> [(date, date)] -> [doc] -> Map (date, date) [doc] -> Map (date, date) [doc] #
to Phylo Base | --
groupDocsByPeriod' :: (NFData doc, Ord date, Enum date) => (doc -> date) -> [(date, date)] -> [doc] -> Map (date, date) [doc] #
groupDocsByPeriod :: (NFData doc, Ord date, Enum date) => (doc -> date) -> [(date, date)] -> [doc] -> Map (date, date) [doc] #
initPhyloScales :: Int -> Period -> Map PhyloScaleId PhyloScale #
setDefault :: PhyloConfig -> TimeUnit -> Int -> PhyloConfig #
initPhylo :: [Document] -> PhyloConfig -> Phylo #