What makes some songs become popular? The dataset describes popular songs based on auditory features such as loudness and tempo.

Learning Goal: I’m working on a r project and need support to help me learn.

Description

What makes some songs become popular? The dataset describes popular songs based on auditory features such as loudness and tempo.

Goal

Construct a model using a dataset of popular songs to predict ratings based on auditory features of the songs included in scoringData.csv. (You may use linear regression, logistic regression, feature selection e.g. Lasso, decision tree or advance tree)

Metric

Submissions will be evaluated based on RMSE (root mean squared error). Lower the RMSE, better the model.

Submission File

The submission file should be in text format (.csv) with only two columns, id and rating. The rating column must contain predicted rating. The number of decimal places to use is up to you. The file should contain a header and have the following format:

"id","rating"
50400,37.3065
96747,37.1732
1824,36.9784
67597,36.9780
86944,36.8176
85423,37.0173

An example submission file (example_submission.csv) is shared with the set of files under Data.

Sample Code

Here is an illustration in R of how you can create a model, apply it to scoringData.csv to prepare a submission file.

# ensure analysisData.csv and scoringData.csv are in your working directory

# following code will read data and construct a simple model
songs = read.csv('analysisData.csv')
model = lm(rating~ tempo+time_signature,songs)

# read in scoring data and apply model to generate predictions
scoringData = read.csv('scoringData.csv')
pred = predict(model,newdata=scoringData)

# construct submission from predictions
submissionFile = data.frame(id = scoringData$id, rating = pred)
write.csv(submissionFile, 'sample_submission.csv',row.names = F)

* Disclaimer: This data is to be used solely for the purpose of the Project for this course. It is not recommended for any use outside of this competition.

Submission Count:

By the end of the competition, you must have at least 3 submissions. At least one must use a forest ranger model.

Attached File Descriptions:

  • analysisData.csv: Data for building a model
  • scoringData.csv: Use for applying predictions or scoring
  • example_submission.csv: Sample submission file in the desired format

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!