This project delves into Kendrick Lamar’s decade-long musical career, specifically analyzing the themes and topics prevalent in his music and lyrics. The primary methodology employed for this exploration is Non-Negative Matrix Factorization (NMF). The aim is to gain insights into the evolution of Kendrick Lamar’s artistic expression over the span of his albums.

Analysis

Topic Extraction

NMF is applied to uncover latent topics present in Kendrick Lamar’s lyrics. These topics represent recurring themes and subjects in his music.

Graphical Representation

A graph is generated to illustrate the emphasis on each identified topic across Kendrick Lamar’s albums. This visual representation allows for a quick and intuitive understanding of the thematic evolution throughout his career.

Results

Topic Analysis of Kendrick Lamar’s Music and Lyrics