upd51
This commit is contained in:
parent
f9d635c67d
commit
8fbf51e92e
@ -13,7 +13,7 @@ data = pd.read_csv('data.csv')
|
||||
|
||||
# Prepare the data
|
||||
X = data[['movie title', 'User Rating', 'Director', 'Top 5 Casts', 'Writer']]
|
||||
y = data['Rating']
|
||||
y = data['Rating'].astype(float)
|
||||
|
||||
# Preprocess the data
|
||||
# Convert the categorical columns into numerical representations
|
||||
|
Loading…
Reference in New Issue
Block a user