Last active
May 28, 2020 10:48
-
-
Save holtzermann17/68fa2a483929d06bb101f75989d53f09 to your computer and use it in GitHub Desktop.
How I installed https://github.com/epatters/semanticflowgraph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ibm | |
cd ibm | |
git clone https://github.com/IBM/pyflowgraph.git | |
git clone https://github.com/epatters/semanticflowgraph | |
wget https://julialang-s3.julialang.org/bin/linux/x64/1.4/julia-1.4.2-linux-x86_64.tar.gz | |
tar -zxvf julia-1.4.2-linux-x86_64.tar.gz | |
sudo cp -r julia-1.4.2 /opt/ | |
sudo ln -s /opt/julia-1.4.2/bin/julia /usr/local/bin/julia | |
cd pyflowgraph/ | |
sudo apt-get install python3-setuptools | |
sudo python3 setup.py install | |
cd .. | |
sudo apt-get install r-base | |
sudo apt-get install libcurl4-openssl-dev | |
sudo apt-get install libxml2-dev | |
git clone https://gitlab.com/drobilla/serd.git | |
cd serd | |
git submodule update --init --recursive | |
./waf configure | |
./waf | |
sudo ./waf install | |
sudo R | |
> install.packages("devtools") | |
> library(devtools) | |
> install_github("ibm/rflowgraph") | |
julia | |
> ] | |
pkg> add https://github.com/epatters/Serd.jl | |
pkg> add PyCall | |
pkg> add RCall | |
pkg> add https://github.com/epatters/semanticflowgraph | |
sudo apt-get install python3-sklearn python3-sklearn-lib | |
sudo apt-get install graphviz | |
sudo apt-get install python3-pandas | |
export PATH="/home/joe/ibm/semanticflowgraph/bin:$PATH" | |
cd semanticflowgraph/test/data | |
flowgraphs.jl record sklearn_clustering_kmeans.py | |
flowgraphs.jl enrich sklearn_clustering_kmeans.raw.graphml --out sklearn_clustering_kmeans.semantic.graphml | |
flowgraphs.jl visualize sklearn_clustering_kmeans.semantic.graphml --to svg --open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment