Skip to content

UofT-DSI | Python - Assignment 2#5

Open
alanmj950 wants to merge 1 commit intomainfrom
assignment-2
Open

UofT-DSI | Python - Assignment 2#5
alanmj950 wants to merge 1 commit intomainfrom
assignment-2

Conversation

@alanmj950
Copy link
Copy Markdown
Owner

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

I added the detect_problems function so it checks the patient summary means and uses check_zeros to flag if any patient has a mean inflammation score of 0. Updated other Python functions that process and analyze patients' data.

What did you learn from the changes you have made?

I learned that it’s important to validate the processed data (mean values) rather than the raw dataset. It also showed me how helper functions can make error detection easier.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

No.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

The file paths in the all_paths variable were throwing errors. I updated the file paths to make it work.

How were these changes tested?

I tested the function with the dataset paths in all_paths. For example, running it on the first file returned False, which matched the expected output.

A reference to a related issue in your repository (if applicable)

N/A

Checklist

  • I can confirm that my changes are working as intended

Copy link
Copy Markdown

@DwardEE DwardEE left a comment

Choose a reason for hiding this comment

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

Strong work!

Everything looks good, no need for any corrections.

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