This documentation outlines various visualization techniques and procedures available in the Oasis platform. These visualizations help analyze and interpret simulation results effectively.
The Reddit Score Analysis visualization allows you to compare scores between different treatment groups in your simulations.
scripts/reddit_simulation_align_with_human/reddit_simulation_align_with_human.py
Set up file paths
After running your simulation, modify the file paths in visualization/reddit_simulation_align_with_human/code/analysis_all.py
:
Install dependencies
Run the analysis script
Examine Results
The script will generate a visualization showing scores for three treatment groups (down-treated, control, up-treated) at the experiment’s conclusion.
This visualization helps analyze differences in content across various treatment conditions.
scripts/reddit_simulation_counterfactual/reddit_simulation_counterfactual.py
Configure database paths
After running your simulation, update the database file paths in visualization/reddit_simulation_counterfactual/code/analysis_couterfact.py
:
Install dependencies
Run the analysis script
Examine Results
The script will generate a visualization showing disagree scores for three treatment groups (down-treated, control, up-treated) at each timestep of the experiment.
This visualization provides an interactive way to explore user follow relationships over time using Neo4j.
NEO4J_URI
, NEO4J_USERNAME
, and NEO4J_PASSWORD
) saved as environment variablesSet up Neo4j
Install dependencies
Configure database path
Modify the database path in either:
visualization/dynamic_follow_network/code/vis_neo4j_reddit.py
(for Reddit data)visualization/dynamic_follow_network/code/vis_neo4j_twitter.py
(for Twitter data)Run the appropriate script
Explore the visualization
user-follow-user
follow-timestamp
to visualize changes in follow relationships over timeBeyond the core visualization techniques described above, the Oasis platform supports customized visualizations based on specific simulation needs. Developers can extend existing visualization modules or create new ones for specialized analysis requirements.
For further assistance with visualization tools or to request additional visualization features, please refer to the project documentation or contact the development team.