lifewjola commited on
Commit
3c0bc59
1 Parent(s): 7212304

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ laptop_df = laptop_df.fillna(0)
8
  user_df = user_df.fillna(0)
9
 
10
  # Create a Surprise Dataset
11
- reader = Reader(rating_scale=(1, 5))
12
  data = Dataset.load_from_df(user_df[['User_ID', 'Laptop_ID', 'Rating']], reader)
13
 
14
  from surprise.model_selection import train_test_split
 
8
  user_df = user_df.fillna(0)
9
 
10
  # Create a Surprise Dataset
11
+ reader = Reader(rating_scale=(0, 5))
12
  data = Dataset.load_from_df(user_df[['User_ID', 'Laptop_ID', 'Rating']], reader)
13
 
14
  from surprise.model_selection import train_test_split