diff --git a/script5.py b/script5.py index 233039f..7077549 100644 --- a/script5.py +++ b/script5.py @@ -9,6 +9,8 @@ from tensorflow.keras.optimizers import Adam # Load the dataset from the CSV file data = pd.read_csv('data.csv') +data = data.drop(index=5059) + # Prepare the data X = data[['movie title', 'User Rating', 'Genres', 'Plot Keyword', 'Director', 'Top 5 Casts', 'Writer', 'Year']] y = data['Rating']