Ci-Dave commited on
Commit
f76f9ad
·
1 Parent(s): bc7a0fc
app.py CHANGED
@@ -10,13 +10,14 @@ import seaborn as sns
10
  # Load dataset
11
  @st.cache_data
12
  def load_data():
13
- return pd.read_csv(r"C:\Users\ACER\Desktop\Feature_Prediction_of_Pokemon\pokemon data\pokemon_cleaned.csv")
14
 
15
  df = load_data()
16
 
17
  # Load machine learning models (if any)
18
- model = joblib.load(r"C:\Users\ACER\Desktop\Feature_Prediction_of_Pokemon\pokemon data\random_forest.pkl") # Uncomment if using a model
19
-
 
20
  # Sidebar Navigation
21
  st.sidebar.title("🔍 Pokémon Explorer")
22
  st.sidebar.markdown("Navigate through different sections!")
 
10
  # Load dataset
11
  @st.cache_data
12
  def load_data():
13
+ return pd.read_csv(r"C:\Users\ACER\Desktop\Feature_Prediction_of_Pokemon\pokemon_cleaned.csv")
14
 
15
  df = load_data()
16
 
17
  # Load machine learning models (if any)
18
+ model = joblib.load(r"C:\Users\ACER\Desktop\Feature_Prediction_of_Pokemon\random_forest.pkl")
19
+ model = joblib.load(r"C:\Users\ACER\Desktop\Feature_Prediction_of_Pokemon\logistic_regression.pkl")
20
+ model = joblib.load(r"C:\Users\ACER\Desktop\Feature_Prediction_of_Pokemon\naive_bayes.pkl")
21
  # Sidebar Navigation
22
  st.sidebar.title("🔍 Pokémon Explorer")
23
  st.sidebar.markdown("Navigate through different sections!")
pokemon data/logistic_regression.pkl → logistic_regression.pkl RENAMED
File without changes
pokemon data/naive_bayes.pkl → naive_bayes.pkl RENAMED
File without changes
pokemon/pokemon.ipynb DELETED
The diff for this file is too large to render. See raw diff
 
pokemon data/pokemon_cleaned.csv → pokemon_cleaned.csv RENAMED
File without changes
pokemon data/random_forest.pkl → random_forest.pkl RENAMED
File without changes