gargantext-0.0.4.9.5: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Gargantext.Core.Viz.Phylo.PhyloExport

Description

 
Synopsis

Documentation

dotToFile :: FilePath -> DotGraph DotId -> IO () Source #

Dot export | --

conditional :: Ord a => Map (a, a) Double -> a -> a -> Double Source #

Metrics | --

Return the conditional probability of i knowing j

genericity :: Map (Int, Int) Double -> [Int] -> Int -> Double Source #

Return the genericity score of a given ngram

specificity :: Map (Int, Int) Double -> [Int] -> Int -> Double Source #

Return the specificity score of a given ngram

inclusion :: Map (Int, Int) Double -> [Int] -> Int -> Double Source #

Return the inclusion score of a given ngram

nk :: Int -> [[Int]] -> Int Source #

Taggers | --

tf :: Int -> [[Int]] -> Double Source #

idf :: Int -> [[Int]] -> Double Source #

findTfIdf :: [[Int]] -> [(Int, Double)] Source #

getNthMostMeta :: Int -> [Double] -> [Int] -> [Int] Source #

toDynamics :: Int -> [PhyloGroup] -> PhyloGroup -> Map Int (Date, Date) -> Double Source #

Dynamics | --

toPhyloExport :: Phylo -> DotGraph DotId Source #

phyloExport | --