Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

note: using spyder I want the answer in CODE Ignore step 11 Your manager sent you a dataset for restaurant review to analyze it. As

image text in transcribed

note: using spyder

I want the answer in CODE

Ignore step 11

Your manager sent you a dataset for restaurant review to analyze it. As a data scientist you will build a prediction model to predict whether a review on the restaurant is positive or negative. Do the following Steps: 1. Download the attached dataset. 2. Use the following algorithm to make prediction models: a. Random Forest. b. SVM 3. Cleaning the texts. 4. Make the total words equal 1550 . 5. Creating the Bag of Words model 6. When splitting the dataset into the Training set and Test Set, assign 70% fortraining set and 30% for test set. (random_state =0 ). 7. Determine the N-tree to be 10 . 8. For SVM, determine the kernel type ( rbf) 9. Write or show screenshot of the confusion matrix. 10. Show screenshot of yourcode. 11. Write your opinion about the performance of Random Forest in compare with SVM

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

What magazine and ads did you choose to examine?

Answered: 1 week ago