Direkt zum Inhalt
StartseitePython

Projekt

Classify Song Genres from Audio Data

Anfänger
Aktualisierte 09/2024
Rock or rap? Apply machine learning methods in Python to classify songs into genres.
Projekt kostenlos starten

Im Lieferumfang enthaltenPremium or Teams

PythonData ManipulationData VisualizationMachine Learning1 Stunde12 Tasks1,500 XP15,073

Kostenloses Konto erstellen

oder

Durch Klick auf die Schaltfläche akzeptierst du unsere Nutzungsbedingungen, unsere Datenschutzrichtlinie und die Speicherung deiner Daten in den USA.
Group

Trainierst du 2 oder mehr?

Versuchen DataCamp for Business

Beliebt bei Lernenden in Tausenden Unternehmen

Projektbeschreibung

Classify Song Genres from Audio Data

Using a dataset comprised of songs of two music genres (Hip-Hop and Rock), you will train a classifier to distinguish between the two genres based only on track information derived from [Echonest](http://the.echonest.com) (now part of Spotify). You will first make use of `pandas` and `seaborn` packages in Python for subsetting the data, aggregating information, and creating plots when exploring the data for obvious trends or factors you should be aware of when doing machine learning. Next, you will use the `scikit-learn` package to predict whether you can correctly classify a song's genre based on features such as danceability, energy, acousticness, tempo, etc. You will go over implementations of common algorithms such as PCA, logistic regression, decision trees, and so forth.

Classify Song Genres from Audio Data

Rock or rap? Apply machine learning methods in Python to classify songs into genres.
Projekt kostenlos starten
  • 1

    Preparing our dataset

  • 2

    Pairwise relationships between continuous variables

  • 3

    Splitting our data

  • 4

    Normalizing the feature data

  • 5

    Principal Component Analysis on our scaled data

  • 6

    Further visualization of PCA

  • 7

    Projecting on to our features

  • 8

    Train a decision tree to classify genre

  • 9

    Compare our decision tree to a logistic regression

  • 10

    Balance our data for greater performance

  • 11

    Does balancing our dataset improve model bias?

  • 12

    Using cross-validation to evaluate our models

Mach mit 15 Millionen Lernende und starte Classify Song Genres from Audio Data heute!

Kostenloses Konto erstellen

oder

Durch Klick auf die Schaltfläche akzeptierst du unsere Nutzungsbedingungen, unsere Datenschutzrichtlinie und die Speicherung deiner Daten in den USA.