Question: 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

 note: using spyder I want the answer in CODE Ignore step

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!