Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 25, 2020. It is now read-only.

sandeepkramesan/MGC-Logistic-Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

8 Commits

Repository files navigation

Music Genre Classification using Logistic Regression

Dataset Heirarchy

gtzan_dataset
	\blues
	\classical
	\country
	\disco
	\hiphop
	\jazz
	\metal
	\pop
	\reggae
	\rock

Run order of files:

python3 wav_convert.py

Converts music files to the needed .wav format and store into ./converted

python3 wav_extract_fft.py

Extracts fft values and saves numpy files to ./fft_extracted

python3 log_reg.py fft_extracted/

Applies Logistic Regression to train and classify; gives prediction accuracy, saves confusion matrix image and model

python3 test.py ~/path/to/your/song/file

Loads saved model to predict genre of new file

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /