Commit cbb546b9 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Merge branch 'adinapoli/move-test-directory' into 'master'

Post-package-split fallout

See merge request !3
parents abd2daba a08ceed7
Pipeline #7392 failed with stages
# gargantext-graph library # gargantext-graph libraries
This lib gathers tools for graph management used in GarganText Project: This repository is composed by a toolkit of different libraries:
Functional Graph Library, Igraph bindings and new graph algorithms.
## Installation * `gargantext-graph-core` (formerly just `gargantext-graph`), it contains the Haskell code for
graph algorithms in use in Gargantext;
First install [stack](https://docs.haskellstack.org/en/stable/install_and_upgrade/) * `gargantext-graph-accelerate`, it contains `accelerate` utilities, for general graph use;
```bash * `gargantext-graph-eigen`, it contains `eigen` utilities, for general graph use;
curl -sSL https://get.haskellstack.org/ | sh
```
For Debian like GNU/Linux OS, install dependencies
```bash
sudo apt update && sudo apt install libblas-dev liblapack-dev
```
Then build and install:
```
stack install
```
## New Graph Clustering
You can run the clusterings used for the new Graph Clustering :
```
./run data/snap/amazon/com-amazon.ungraph.txt
```
Computed results :
- times.md gathers all runs with its computing time (for amazon and dblp graphs for now)
- Then you can get the results
- Summary of results for a beta of 0.0 :
- com-amazon.ungraph.txt_0.0_gc.txt
- Clustering result
- com-amazon.ungraph.txt_1.0_gc.clusters.txt
## Files for the clustering tests/examples
- https://dl.gargantext.org/actor-movie.csv.bz2
- https://dl.gargantext.org/com-amazon.all.dedup.cmty.txt.bz2
- https://dl.gargantext.org/com-amazon.ungraph.txt.bz2
- https://dl.gargantext.org/com-dblp.ungraph.txt.bz2
### Results
- https://dl.gargantext.org/com-amazon.ungraph.txt_0.0_gc.clusters.txt
- https://dl.gargantext.org/com-amazon.ungraph.txt_1.0_gc.clusters.txt
This diff is collapsed.
...@@ -15,9 +15,6 @@ copyright: 2021 CNRS / Alexandre Delanoë ...@@ -15,9 +15,6 @@ copyright: 2021 CNRS / Alexandre Delanoë
license: AGPL license: AGPL
license-file: LICENSE license-file: LICENSE
build-type: Simple build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head source-repository head
type: git type: git
......
# Changelog for gargantext-graph
## 0.2.0.0
BREAKING: The package was renamed `gargantext-graph-core`, and it should contain only generic code
without the need to pull external libraries. For those, consider adding the requested features in one of
the specialised packages like `gargantext-graph-accelerate`.
This diff is collapsed.
# gargantext-graph library
This lib gathers tools for graph management used in GarganText Project:
Functional Graph Library, Igraph bindings and new graph algorithms.
## Installation
First install [stack](https://docs.haskellstack.org/en/stable/install_and_upgrade/)
```bash
curl -sSL https://get.haskellstack.org/ | sh
```
For Debian like GNU/Linux OS, install dependencies
```bash
sudo apt update && sudo apt install libblas-dev liblapack-dev
```
Then build and install:
```
stack install
```
## New Graph Clustering
You can run the clusterings used for the new Graph Clustering :
```
./run data/snap/amazon/com-amazon.ungraph.txt
```
Computed results :
- times.md gathers all runs with its computing time (for amazon and dblp graphs for now)
- Then you can get the results
- Summary of results for a beta of 0.0 :
- com-amazon.ungraph.txt_0.0_gc.txt
- Clustering result
- com-amazon.ungraph.txt_1.0_gc.clusters.txt
## Files for the clustering tests/examples
- https://dl.gargantext.org/actor-movie.csv.bz2
- https://dl.gargantext.org/com-amazon.all.dedup.cmty.txt.bz2
- https://dl.gargantext.org/com-amazon.ungraph.txt.bz2
- https://dl.gargantext.org/com-dblp.ungraph.txt.bz2
### Results
- https://dl.gargantext.org/com-amazon.ungraph.txt_0.0_gc.clusters.txt
- https://dl.gargantext.org/com-amazon.ungraph.txt_1.0_gc.clusters.txt
...@@ -4,8 +4,8 @@ cabal-version: 1.12 ...@@ -4,8 +4,8 @@ cabal-version: 1.12
-- --
-- see: https://github.com/sol/hpack -- see: https://github.com/sol/hpack
name: gargantext-graph name: gargantext-graph-core
version: 0.1.0.0 version: 0.2.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/gargantext-graph#readme> description: Please see the README on GitHub at <https://github.com/githubuser/gargantext-graph#readme>
homepage: https://github.com/gargantext/gargantext-graph#readme homepage: https://github.com/gargantext/gargantext-graph#readme
bug-reports: https://github.com/gargantext/gargantext-graph/issues bug-reports: https://github.com/gargantext/gargantext-graph/issues
...@@ -38,7 +38,7 @@ library ...@@ -38,7 +38,7 @@ library
Graph.Tools.Random Graph.Tools.Random
Graph.Types Graph.Types
other-modules: other-modules:
Paths_gargantext_graph Paths_gargantext_graph_core
hs-source-dirs: hs-source-dirs:
src src
default-extensions: default-extensions:
...@@ -55,12 +55,10 @@ library ...@@ -55,12 +55,10 @@ library
, haskell-igraph >=0.6.0 , haskell-igraph >=0.6.0
, hmatrix , hmatrix
, lens , lens
, pretty-simple
, protolude , protolude
, reflection , reflection
, singletons , singletons
, sparse-linear , sparse-linear
, string-conversions
, text , text
, vector , vector
default-language: Haskell2010 default-language: Haskell2010
...@@ -69,7 +67,7 @@ test-suite gargantext-graph-test ...@@ -69,7 +67,7 @@ test-suite gargantext-graph-test
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: Main.hs main-is: Main.hs
other-modules: other-modules:
Paths_gargantext_graph Paths_gargantext_graph_core
hs-source-dirs: hs-source-dirs:
test test
default-extensions: default-extensions:
......
This diff is collapsed.
...@@ -11,9 +11,6 @@ copyright: 2021 CNRS / Alexandre Delanoë ...@@ -11,9 +11,6 @@ copyright: 2021 CNRS / Alexandre Delanoë
license: AGPL license: AGPL
license-file: LICENSE license-file: LICENSE
build-type: Simple build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head source-repository head
type: git type: git
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment