Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added all the necessary modifications to the Epidemiology Project #2

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

helios2003
Copy link

No description provided.

@kid-116
Copy link
Owner

kid-116 commented Feb 20, 2023

Remove the folder sir-model.egg-info and generated data files.

@kid-116
Copy link
Owner

kid-116 commented Feb 20, 2023

Why have you made changes to templates and styles?

@helios2003
Copy link
Author

It was

Why have you made changes to templates and styles?

It had some errors when I clicked on it...... That's why I changed it

@helios2003
Copy link
Author

Remove the folder sir-model.egg-info and generated data files.

Oh okay I will do it, so apart from this everything else is fine right?

metadata=metadata,
df=df
)
<<<<<<< HEAD
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix all merge conflicts including this one

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

# Simulate new infected people
def get_new_infected(self, infected_contact):
new_infected = [
person for person in infected_contact if random.random() <= self.beta]
person for person in infected_contact & self.susceptible if random.random() <= self.beta]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly are you checking here? Are you sure this will work? I don't think this will tell you if a person is present in both the sets.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly are you checking here? Are you sure this will work? I don't think this will tell you if a person is present in both the sets.

Yeah, it's an intersection operation right ?, When i checked it long back, it was working fine

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants