Complexity Explorer Santa Few Institute

Lecture: Artificial Intelligence

Lead instructor:

Your progress is not being saved! Enroll now or log in to track your progress or submit homework.

All posts

Juhi
05 Nov 2024 5:24pm UTC
in Random Walks

COVID-19, caused by the novel coronavirus SARS-CoV-2, emerged in Wuhan, China, in late 2019 and quickly became a global pandemic. The disease primarily affects the respiratory system, causing symptoms ranging from mild (fever, cough, and fatigue) to severe (pneumonia, difficulty breathing, and organ failure). Older adults and individuals with underlying health conditions are at higher risk of severe illness.

COVID-19 spreads mainly through respiratory droplets when an infected person coughs, sneezes, or talks. It can also spread by touching surfaces contaminated with the virus and then touching the face. Governments worldwide implemented measures like lockdowns, social distancing, mask mandates, and vaccination campaigns to control the spread of the virus.

The development of vaccines by companies like Pfizer-BioNTech, Moderna, and AstraZeneca marked a significant step in controlling COVID-19. Vaccines have been shown to reduce the severity of symptoms and lower the risk of severe illness or death. However, the virus has continued to mutate, leading to new variants such as Delta and Omicron, which pose ongoing challenges in vaccine effectiveness and public health strategies.

Public health organizations, including the World Health Organization (WHO) and the Centers for Disease Control and Prevention (CDC), continue to monitor the virus, adapt guidelines, and promote vaccination. While many countries have lifted strict restrictions, COVID-19 remains a health concern globally, highlighting the importance of continued vigilance, vaccination, and investment in healthcare infrastructure.

Tom Youngman
16 Oct 2024 3:16pm UTC
1
in Agent-Based Models with Python: An Introduction to Mesa

I'm running the code as shown in session 5 but getting the follow error - any ideas?

---------------------------------------------------------------------------

ValueError Traceback (most recent call last)

in ()
----> 1 model = SugarscapeG1mt()

in __init__(self, width, height)
19
20 agent_id = 0
---> 21 for (x,y) in self.grid.coord_iter():
22 max_sugar = sugar_distribution[x,y]
23 if max_sugar > 0:

ValueError: too many values to unpack (expected 2)

Tom Youngman
16 Oct 2024 3:44pm UTC
in Agent-Based Models with Python: An Introduction to Mesa

I've not figured out the error:
for _,(x,y) in self.grid.coord_iter():

needs the brackets around (x,y) removed to become:
for _,x,y in self.grid.coord_iter():

I have forked the session 5 on GitHub and suggested the change

Geoff Evamy Hill
16 Oct 2024 11:21am UTC
in Agent-Based Models with Python: An Introduction to Mesa

Hi there,
I am getting this error when I run the code from step 7.
"""
self.grid.place_agent(trader, (x,y))
:83: UserWarning: Agent 4139 is being placed with
place_agent() despite already having the position (30, 30). In most
cases, you'd want to clear the current position with remove_agent()
before placing the agent again.
"""

It seems to happen with the code from the github as well. Any ideas?

Max
07 Aug 2024 10:49pm UTC
in Fundamentals of NetLogo

Hi! I really enjoyed the tutorial and wanted to try tackle the homework. I got stuck at part 3, especially the part regarding establishing new connections, and I wanted to check the solutions but I coulndt find any solution after part 1? The titles are clickable but no file is downloaded or accessed. Any help woulde be appreciated!

Kind regards!

Niyar Prabhat Kalita
18 Apr 2024 1:22pm UTC
in Introduce Yourself

1) For the case of shrinking steps, we have, step length ~ (lambda)^n with (lambda less than 1). Sor, for negative value of n, step length should approach infinity always, but in the plots shown in the video, P as a function of lambda goes to 0 as n tends to negative infinity. What is the reason behind that?

2) How, for the case d=0, the expression of rho becomes ln(t)?