Application is deployed here
This application predicts related tags to a given input word, based on weighted graph generated from Data Science Stack Exchange Data Collection - REST API and extract tags from json format of requested url.
-> k-means, clustering, python
-> machine-learning, neural-network, python
-> machine-learning, keras, neural-network, python ...
From this list of tags, a Weighted Graph can be constructed where each tag in each row of data is related to other tags in the same row and the edge weight in the graph is incremented each time the tags co-occur.
Another approach is Skip-gram architectue of word-embeddings. This has been implemented in .ipybn file
-
Weighted_graph_tags_predict.ipybn contains
data extraction with REST API, graph construction with NetworkX and skip-gram architecture for tags prediction using pytorch
-
webapp/Data/ :- contains pickle file of graph constructed of similar words, test.txt and test2.txt contains all related raw words extracted from Data Science Stack Exchange.
From the root directory of the repo.
-
Run
$ pip install -r requirements.txt
-
$pip install pytorch (only for skip-gram architecture in Ipybn)
-
to run app locally :- got to application.py, and
uncomment app.run
and finally runpython application.py