Updated the commits for sanity checks.
This commit is contained in:
parent
2a7c9cd28b
commit
5702c3c1b8
4 changed files with 157 additions and 13 deletions
|
|
@ -129,7 +129,7 @@ if __name__ == "__main__":
|
|||
df.dropna(inplace=True) # remove null values
|
||||
print(f"Rows remaining after drop of the null values: {len(df)}")
|
||||
|
||||
# sanity checks for data validity
|
||||
# sanity checks for data validity - realistic parkinson data range estimations
|
||||
df = df[(df['age'] >= 18) & (df['age'] <= 95)]
|
||||
df = df[(df['motor_UPDRS'] >= 0) & (df['motor_UPDRS'] <= 100)]
|
||||
df = df[(df['total_UPDRS'] >= 0) & (df['total_UPDRS'] <= 100)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue