Load dataset into R Studio and randomly split the dataset into training data and testing
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

Load dataset into R Studio and randomly split the dataset into training data and testing

In Week 3, we started to study supervised learning and to understand supervised algorithms. 

In this assessment, you will apply supervised machine learning methods to classify Twitter spam using the provided dataset. Table 1 shows the features description of the dataset.


Assessment Requirements and Instructions

Twitter spam detection using R caret package

Follow instructions, complete all the tasks and organize answers into a word document. R script, R screenshot, your results and explanations should be covered for each question.

Here are your tasks:

Load dataset into R Studio and randomly split the dataset into training data and testing data with the ratio of 9:1.

Use training data to train a machine learning model with the knn algorithm.

Use testing data to test and evaluate the model trained in step 2 and print the confusion matrix. 

Twitter spam

Hint
ComputerA data set is an assortment of related, discrete things of related information that might be gotten to exclusively or in mix or oversaw in general substance. An informational index is coordinated into some sort of information structure...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.