shengdinghu / graphpolicynetworkactivelearning Goto Github PK
View Code? Open in Web Editor NEWThe source code for NeurIPS 2020 paper "Graph Policy Network for Transferable Active Learning on Graphs"
The source code for NeurIPS 2020 paper "Graph Policy Network for Transferable Active Learning on Graphs"
Hi,
Thank you for the paper and code. May I ask if you can release the code of training and testing with the baseline methods, e.g., CoreSet? Thank you!
Hi, thanks for publishing the code; very cool work! Not really an issue but more of a question about the code...
I'm trying to understand what args.batchsize
(https://github.com/ShengdingHu/GraphPolicyNetworkActiveLearning/blob/main/src/train.py#L29) does in the code. Does it, as the name suggests, denote how many queries you can make at each iteration of the active learning loop? Or is it the size of each batch when you train the policy network?
Maybe your response to the above will answer the following questions, but I'm putting them here:
player.py
, each mask (for training, validation, and test) is a tensor of size args.batchsize
-by-the number of nodes (https://github.com/ShengdingHu/GraphPolicyNetworkActiveLearning/blob/main/src/utils/player.py#L151). Why do you need args.batchsize
in the first dimension there? It seems to me you would only need a 1d tensor of length equal to the number of nodes to keep track of which data points are in which set.getPool()
in player.py
(https://github.com/ShengdingHu/GraphPolicyNetworkActiveLearning/blob/main/src/utils/player.py#L76) do exactly? And how is it being used in https://github.com/ShengdingHu/GraphPolicyNetworkActiveLearning/blob/main/src/train.py#L129-L130?args.batchsize
(https://github.com/ShengdingHu/GraphPolicyNetworkActiveLearning/blob/main/src/utils/policynet.py#L41)?Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.