Skip to content

Commit

Permalink
Add project 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed00078 committed Jan 11, 2025
1 parent 1a0c694 commit e8b1c88
Show file tree
Hide file tree
Showing 8 changed files with 876 additions and 12 deletions.
114 changes: 103 additions & 11 deletions content/english/projects/project-4.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,109 @@
---
title: "Reasons Why Employees Quit | Human Resources Analytics"
date: 2020-03-14T15:40:24+06:00
# Project thumb
image : "images/projects/project4.jpg"
draft: true
# description
description: "This is meta description"
title: "Classification of Musical Genres"
date: 2024-01-10T15:40:24+06:00
image: "images/projects/music-classification.png"
draft: false
description: "A microservices architecture for automatic music genre classification using machine learning and deep learning approaches"
---

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
This project implements a comprehensive solution for automatic music genre classification through a microservices architecture. The system combines classical machine learning and deep learning approaches to achieve robust genre classification accuracy on audio inputs.

invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et
#### System Architecture

accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
The application is built on a microservices architecture with three main components:

sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur
1. **Classification Service**
- Implements two parallel classification models:
- SVM classifier using extracted audio features (MFCC, spectral centroid, zero-crossing rate)
- VGG19 deep learning model trained on mel-spectrograms
- RESTful API endpoints for model inference
- Audio preprocessing pipeline for feature extraction

2. **Frontend Service**
- Streamlit-based web interface
- Real-time audio file upload and processing
- Interactive visualization of classification results
- Model performance metrics display

3. **Orchestration Layer**
- Docker containers for each service
- Jenkins pipeline for automated testing and deployment
- Load balancing and service discovery
- Azure cloud infrastructure management

#### Technical Implementation

**Audio Processing Pipeline**
- Audio file validation and format standardization
- Feature extraction using librosa:
- Mel-frequency cepstral coefficients (MFCCs)
- Spectral features (centroid, rolloff, bandwidth)
- Temporal features (zero-crossing rate, RMS energy)
- Mel-spectrogram generation for deep learning model

**Machine Learning Models**
- Support Vector Machine (SVM):
- Kernel: RBF with optimized parameters
- Feature scaling and normalization
- Cross-validation for model evaluation

- VGG19 Neural Network:
- Transfer learning from ImageNet weights
- Fine-tuning on GTZAN dataset
- Data augmentation techniques for robust training
- Batch normalization and dropout for regularization

**Deployment Infrastructure**
- Containerized services with Docker:
- Base image optimization for reduced size
- Multi-stage builds for production deployment
- Volume mapping for model persistence

- CI/CD Pipeline:
- Automated testing with pytest
- Code quality checks with SonarQube
- Automated Docker image building and pushing
- Blue-green deployment strategy

#### Performance and Metrics

- Model Accuracy:
- SVM: 78% accuracy on test set
- VGG19: 85% accuracy on test set
- Ensemble approach: 87% accuracy

- System Performance:
- Average response time: <2 seconds
- Concurrent user support: up to 100
- API throughput: 50 requests/second

#### Development Workflow

The project followed an agile development methodology:

1. **Planning Phase**
- Architecture design and component specification
- Technology stack selection
- Development roadmap creation

2. **Implementation Phase**
- Iterative development of services
- Regular integration testing
- Performance optimization

3. **Deployment Phase**
- Infrastructure setup on Azure
- CI/CD pipeline configuration
- Production deployment and monitoring

#### Future Improvements

- Implementation of real-time audio classification
- Addition of more sophisticated ensemble methods
- Integration of user feedback for model improvement
- Expansion of supported audio formats
- Implementation of A/B testing framework

[View Project Repository](https://github.com/yourusername/music-classification)

[Live Demo](https://your-demo-url.com)
2 changes: 1 addition & 1 deletion content/english/projects/project-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Reasons Why Employees Quit | Human Resources Analytics"
date: 2020-03-14T15:40:24+06:00
# Project thumb
image : "images/projects/project5.jpg"
draft: true
draft: false
# description
description: "This is meta description"
---
Expand Down
14 changes: 14 additions & 0 deletions public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@
<guid>http://localhost:1313/projects/project-2/</guid>
<description>&lt;p&gt;BiblioManager is a library management application offering an intuitive user interface developed with JavaFX. It allows efficient management of book collections, borrowing and member memberships.&lt;/p&gt;</description>
</item>
<item>
<title>Classification of Musical Genres</title>
<link>http://localhost:1313/projects/project-4/</link>
<pubDate>Wed, 10 Jan 2024 15:40:24 +0600</pubDate>
<guid>http://localhost:1313/projects/project-4/</guid>
<description>&lt;p&gt;This project implements a comprehensive solution for automatic music genre classification through a microservices architecture. The system combines classical machine learning and deep learning approaches to achieve robust genre classification accuracy on audio inputs.&lt;/p&gt;</description>
</item>
<item>
<title>“The biggest change to News Feed since 2013”: Facebook is making it easy to bypass its algorithm Feed since biggest</title>
<link>http://localhost:1313/publications/publication-1/</link>
Expand Down Expand Up @@ -93,6 +100,13 @@
<guid>http://localhost:1313/talks/talk-4/</guid>
<description>&lt;p&gt;Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor&lt;/p&gt;</description>
</item>
<item>
<title>Reasons Why Employees Quit | Human Resources Analytics</title>
<link>http://localhost:1313/projects/project-5/</link>
<pubDate>Sat, 14 Mar 2020 15:40:24 +0600</pubDate>
<guid>http://localhost:1313/projects/project-5/</guid>
<description>&lt;p&gt;Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor&lt;/p&gt;</description>
</item>
<item>
<title>Ahmed Sidi Mohamed</title>
<link>http://localhost:1313/author/george-cushen/</link>
Expand Down
30 changes: 30 additions & 0 deletions public/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,38 @@ <h4 class="mb-3"><a href="http://localhost:1313/projects/project-2/">Maze Bank -
</article>
</div>

<div class="col-lg-4 col-sm-6 mb-4">
<article class="card bg-dark rounded-0 border-0">
<img src="http://localhost:1313/images/projects/music-classification.png" alt="" class="card-img-top mb-4 rounded-0">
<div class="card-body">
<h4 class="mb-3"><a href="http://localhost:1313/projects/project-4/">Classification of Musical Genres</a></h4>
<p><p>This project implements a comprehensive solution for automatic music genre classification through a microservices architecture. The system combines classical machine learning and deep learning approaches to achieve robust genre classification accuracy on audio inputs.</p></p>
</div>
</article>
</div>

<div class="col-12 mt-5">

<ul class="pagination pagination-default">
<li class="page-item disabled">
<a aria-disabled="true" aria-label="First" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">&laquo;&laquo;</span></a>
</li>
<li class="page-item disabled">
<a aria-disabled="true" aria-label="Previous" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">&laquo;</span></a>
</li>
<li class="page-item active">
<a aria-current="page" aria-label="Page 1" class="page-link" role="button">1</a>
</li>
<li class="page-item">
<a href="/projects/page/2/" aria-label="Page 2" class="page-link" role="button">2</a>
</li>
<li class="page-item">
<a href="/projects/page/2/" aria-label="Next" class="page-link" role="button"><span aria-hidden="true">&raquo;</span></a>
</li>
<li class="page-item">
<a href="/projects/page/2/" aria-label="Last" class="page-link" role="button"><span aria-hidden="true">&raquo;&raquo;</span></a>
</li>
</ul>
</div>
</div>
</div>
Expand Down
14 changes: 14 additions & 0 deletions public/projects/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,19 @@
<guid>http://localhost:1313/projects/project-2/</guid>
<description>&lt;p&gt;BiblioManager is a library management application offering an intuitive user interface developed with JavaFX. It allows efficient management of book collections, borrowing and member memberships.&lt;/p&gt;</description>
</item>
<item>
<title>Classification of Musical Genres</title>
<link>http://localhost:1313/projects/project-4/</link>
<pubDate>Wed, 10 Jan 2024 15:40:24 +0600</pubDate>
<guid>http://localhost:1313/projects/project-4/</guid>
<description>&lt;p&gt;This project implements a comprehensive solution for automatic music genre classification through a microservices architecture. The system combines classical machine learning and deep learning approaches to achieve robust genre classification accuracy on audio inputs.&lt;/p&gt;</description>
</item>
<item>
<title>Reasons Why Employees Quit | Human Resources Analytics</title>
<link>http://localhost:1313/projects/project-5/</link>
<pubDate>Sat, 14 Mar 2020 15:40:24 +0600</pubDate>
<guid>http://localhost:1313/projects/project-5/</guid>
<description>&lt;p&gt;Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor&lt;/p&gt;</description>
</item>
</channel>
</rss>
Loading

0 comments on commit e8b1c88

Please sign in to comment.