Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2023 02:13 AM
I have tried this one.
I am providing data as a list of single element.
data = ["visit www.bet365.com for a free trial"]
Tried with
predictions = loaded_model.predict(data)
and
predictions = loaded_model.predict(pd.DataFrame(data))