Web: https://www.reddit.com/r/reinforcementlearning/comments/savk15/how_can_you_do_rl_on_a_graph/

Jan. 23, 2022, 3:04 p.m. | /u/wiggyhat

Reinforcement Learning reddit.com

I am new to stable-baselines3 and am trying to get a toy problem to work. I previously had a bit flipping example using an array and now I would like to do the same thing using a graph with node weights instead. I am not sure how to do this.

The following code snippet with make a linear graph with 10 nodes, add node weights to each node and convert it to a dgl graph

import networkx as nx import …

graph on reinforcementlearning rl

Predictive Ecology Postdoctoral Fellow

@ Lawrence Berkeley National Lab | Berkeley, CA

Data Analyst, Patagonia Action Works

@ Patagonia | Remote

Data & Insights Strategy & Innovation General Manager

@ Chevron Services Company, a division of Chevron U.S.A Inc. | Houston, TX

Faculty members in Research areas such as Bayesian and Spatial Statistics; Data Privacy and Security; AI/ML; NLP; Image and Video Data Analysis

@ Ahmedabad University | Ahmedabad, India

Director, Applied Mathematics & Computational Research Division

@ Lawrence Berkeley National Lab | Berkeley, Ca

Business Data Analyst

@ MainStreet Family Care | Birmingham, AL