hodel33 / ml-dupdetect-inzpo

Showcases Machine Learning logic and custom Django Admin view for sophisticated potential duplicate detection and management in a larger Django project -> https://inzpo.me 🌟

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ML Duplicate Detection - inzpo.me

πŸ“‹ Overview

This repository showcases a snippet from a larger Django project (inzpo.me) that uses Machine Learning algorithms for the sophisticated analysis and management of potential duplicate content.

Using scikit-learn's TF-IDF Vectorization and Cosine Similarity features, this logic efficiently identifies potential duplicate entries in large datasets. The detection process offers two modes for added flexibility: it can either focus on newly scraped episodes, comparing them against both the existing database and among themselves, or it can analyze the entire dataset.

To enhance manageability, a custom Django Admin view has also been implemented. This allows for easy identification and exclusion of duplicates.

inzpo.me, a passion project of mine & Dyaland, is a first-of-its-kind platform that uses Python and Django to seamlessly connect people with inspiring personalities by notifying users of guest appearances on podcasts. The platform emphasizes scalability, performance optimization, and user engagement through various integrations like Spotify/ChatGPT APIs, Django Q2 for async task management, trie search for efficient data retrieval, custom caching mechanisms and other innovative functionalities.


🌟 Features

  • ML-Driven Analysis: Utilizes Machine Learning algorithms for feature extraction and similarity computation.
  • TF-IDF Vectorization: Transforms textual data into numerical vectors for advanced analysis.
  • Cosine Similarity: Computes similarity scores to accurately identify potential duplicates.
  • Custom Django Admin View: Facilitates the management of potential duplicates, allowing for quick decision-making on whether an entry is a duplicate or not.
  • Flexible and Optimized Runs: The potential duplicate detection process is designed to run in two modes. It can focus only on newly scraped episodes for daily runs or analyze the entire dataset, making it highly efficient and adaptable to different use-cases.
  • Threshold Tuning: The similarity thresholds for names, descriptions, and durations are customizable, allowing for fine-tuning based on specific needs.
  • Resource Monitoring: Includes built-in RAM usage tracking, optimizing performance and ensuring the system remains efficient when hosted online.

Admin View Screenshot

Terminal Output Screenshot


πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

Summary:

  1. Permission: The software and associated documentation files can be used, copied, modified, merged, published, distributed, sublicensed, and/or sold.
  2. Condition: Proper attribution must be given to the original author and the MIT license text must be included in all copies or substantial portions of the software.
  3. No Warranty: The software is provided "as is", without any warranty.

For the full license, please refer to the LICENSE file in the repository.


πŸ’¬ Feedback & Contact

I'd love to network, discuss tech, or swap music recommendations. Feel free to connect with me on:

🌐 LinkedIn: Bjârn Hâdel
🐦 Twitter: @hodel33
πŸ“Έ Instagram: @hodel33
πŸ“§ Email: hodel33@gmail.com

About

Showcases Machine Learning logic and custom Django Admin view for sophisticated potential duplicate detection and management in a larger Django project -> https://inzpo.me 🌟

License:MIT License


Languages

Language:Python 100.0%