algebraic-graphs-io-0.4: I/O utilities and datasets for algebraic-graphs
Safe HaskellNone
LanguageHaskell2010

Algebra.Graph.IO.Datasets.LINQS.Citeseer

Description

Citeseer document classification dataset, from :

Qing Lu, and Lise Getoor. "Link-based classification." ICML, 2003.

https://linqs.soe.ucsc.edu/data

The dataset consists of 3312 scientific publications classified into one of six classes. The citation network consists of 4732 links. Each publication in the dataset is described by a 0/1-valued word vector indicating the absence/presence of the corresponding word from the dictionary. The dictionary consists of 3703 unique words.

Synopsis

1. Download the dataset

stash Source #

Arguments

:: FilePath

directory where the data files will be saved

-> IO () 

See stash

2. Reconstruct the citation graph

loadCiteseerGraph Source #

Arguments

:: FilePath

directory where the data files were saved

-> IO (Graph (ContentRow Int16 CiteSeerDoc)) 

Types

data CiteSeerDoc Source #

document classes of the Citeseer dataset

Constructors

Agents 
AI 
DB 
IR 
ML 
HCI 

Instances

Instances details
Enum CiteSeerDoc Source # 
Instance details

Defined in Algebra.Graph.IO.Datasets.LINQS.Citeseer

Eq CiteSeerDoc Source # 
Instance details

Defined in Algebra.Graph.IO.Datasets.LINQS.Citeseer

Ord CiteSeerDoc Source # 
Instance details

Defined in Algebra.Graph.IO.Datasets.LINQS.Citeseer

Show CiteSeerDoc Source # 
Instance details

Defined in Algebra.Graph.IO.Datasets.LINQS.Citeseer

Generic CiteSeerDoc Source # 
Instance details

Defined in Algebra.Graph.IO.Datasets.LINQS.Citeseer

Associated Types

type Rep CiteSeerDoc :: Type -> Type #

Binary CiteSeerDoc Source # 
Instance details

Defined in Algebra.Graph.IO.Datasets.LINQS.Citeseer

type Rep CiteSeerDoc Source # 
Instance details

Defined in Algebra.Graph.IO.Datasets.LINQS.Citeseer

type Rep CiteSeerDoc = D1 ('MetaData "CiteSeerDoc" "Algebra.Graph.IO.Datasets.LINQS.Citeseer" "algebraic-graphs-io-0.4-E7MKPwsSlpuDfjqM3SouNJ" 'False) ((C1 ('MetaCons "Agents" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DB" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "IR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ML" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HCI" 'PrefixI 'False) (U1 :: Type -> Type))))