Skip to content

Conversation

yoyoyiu
Copy link
Owner

@yoyoyiu yoyoyiu commented Jun 20, 2024

No description provided.

view_data = {'average': models.daily_mean(inflammation_data), 'max': models.daily_max(inflammation_data), 'min': models.daily_min(inflammation_data)}
view_data = {'average': models.daily_mean(inflammation_data), 'max': models.daily_max(inflammation_data), 'min': models.daily_min(inflammation_data), **(models.s_dev(inflammation_data))}


Choose a reason for hiding this comment

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

Hi the code looks good for deployment , you can merge it with the main repository

Copy link
Owner Author

Choose a reason for hiding this comment

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

Good. Will go ahead

Copy link

@Ankur6889 Ankur6889 left a comment

Choose a reason for hiding this comment

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

Hi yoyo I saw your code and it looks good ,

def daily_min(data):
"""Calculate the daily min of a 2d inflammation data array."""
return np.min(data, axis=0)

Choose a reason for hiding this comment

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

Looks Good


for filename in InFiles:
inflammation_data = models.load_csv(filename)

Choose a reason for hiding this comment

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

Standard Deviation for one patient with multiple observations

Copy link
Owner Author

Choose a reason for hiding this comment

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

Great help!

Copy link

@Ankur6889 Ankur6889 left a comment

Choose a reason for hiding this comment

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

That's it for the second review

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.

3 participants