Unit 7: Verification, Validation, and Replication
- Alan Franco Barrera Castro
- 27 Aug 2024 6:58am UTC
- in Unit 7: Verification, Validation, and Replication
In Lecture 7.4, I tried to replicate the Behaviorsearch experiment but I got the following error:
Error reading or writing files:
mySearchOutput.modelRunHistory.csv (Acceso denegado)The exception stacktrace was:
java.io.FileNotFoundException: mySearchOutput.modelRunHistory.csv (Acceso denegado)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(Unknown Source)
at java.base/java.io.FileOutputStream.(Unknown Source)
at java.base/java.io.FileOutputStream.(Unknown Source)
at java.base/java.io.FileWriter.(Unknown Source)
at bsearch.app.CSVLoggerListener.(CSVLoggerListener.java:44)
at bsearch.app.BehaviorSearch.runWithOptions(BehaviorSearch.java:296)
at bsearch.fx.ProgressController$TaskWorker.run(ProgressController.java:299)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at bsearch.fx.ProgressController$1.run(ProgressController.java:77)
at java.base/java.lang.Thread.run(Unknown Source)Also, the netlogo calibration model gives a "expected a number here, rather than a list or block"warning message for the following code of the setup procedure:
nw:generate-preferential-attachment turtles links num-agents [
;; adoption property is initialized
set adopted? false;; separate the turtles spatially
setxy random-xcor random-ycor;; consistent appearance
set color white
set shape "person"]
Lecture 7.4 refers to a paper by Stonedahli and Rand, but the citation at the bottom points to a paper that only mentions calibration in passing. I believe the correct paper that discusses calibration and error functions in detail is : https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2205440
Subforums
- Introduce Yourself
- Class Announcements
- Study Groups and Meetups
- Technical Issues
- General Discussion
- Course Feedback
- Course Materials to Share
- Unit 1: What is Agent-Based Modeling and Why Should You Use It?
- Unit 2: Building a Simple Model
- Unit 3: Extending Models
- Unit 4: Creating Agent-Based Models
- Unit 5: The Components of an Agent-Based Model
- Unit 6: Analyzing Agent-Based Models
- Unit 7: Verification, Validation, and Replication
- Unit 8: History of ABM and Classic Models
- Unit 9: Advanced ABM