This project partially re-implements the Github SNA Colab Notebook using DVC and pipelines. Since the initial Colab Notebook was really extensive, only few sections have been reimplemented here for the purpose of this exercise.
In particular, the following sections have been ported to DVC pipelines
-
Data Intialization
-
Prepare
+------------------------------------+ | data/soc-sign-bitcoinalpha.csv.dvc | +------------------------------------+ * * * +---------+ | prepare | +---------+
Input data are located in the folder data/soc-sign-bitcoinalpha.csv. We will get output as Ego Network Graph.
Clone the project.
In terminal, copy the below the link to clone the project code in your local directory.
git clone https://github.com/Prem948/DVC-Bitcoin-SA.git
Python 3 is required, so please check it if you have installed it on your system. This project has been developed with Python 3.9.
By using terminal, open the directory of the clone project to run.
cd DVC-Bitcoin-SA
pip install -r src/requirements.txt
Using the terminal, execute the following command and see the Social Network Ego Graph:
dvc repro
To visualize the pipeline graph run the following command
dvc dag
After running dvc repro using terminal You can see the Ego Graph as Output File and you can save in your local directory by clicking save in that Output Graph.