eaglelandsonce commited on
Commit
2ca977e
1 Parent(s): 3f8eceb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,12 +1,12 @@
1
  # app.py
2
-
3
  import streamlit as st
4
  import pandas as pd
5
  import numpy as np
6
- from sklearn.ensemble import RandomForestClassifier
7
- from sklearn.model_selection import train_test_split
8
- from sklearn.metrics import accuracy_score, roc_curve, auc
9
- from sklearn.decomposition import PCA
10
  import matplotlib.pyplot as plt
11
  import seaborn as sns
12
 
@@ -22,7 +22,7 @@ This Streamlit app simulates a precision medicine system that predicts the effec
22
  **Disclaimer:** This is a simulation using synthetic data and is intended for educational purposes only. It should not be used for clinical decision-making.
23
  """)
24
 
25
- # --- Data Simulation ---
26
 
27
  st.header('1. Data Simulation')
28
 
 
1
  # app.py
2
+ import sklearn as sk
3
  import streamlit as st
4
  import pandas as pd
5
  import numpy as np
6
+ from sk.ensemble import RandomForestClassifier
7
+ from sk.model_selection import train_test_split
8
+ from sk.metrics import accuracy_score, roc_curve, auc
9
+ from sk.decomposition import PCA
10
  import matplotlib.pyplot as plt
11
  import seaborn as sns
12
 
 
22
  **Disclaimer:** This is a simulation using synthetic data and is intended for educational purposes only. It should not be used for clinical decision-making.
23
  """)
24
 
25
+ # --- Data Simulation --
26
 
27
  st.header('1. Data Simulation')
28