Development of a job matching system using graph algorithms and machine learning.
Technologies: C, Python (Flask), KNN, HTML/CSS, subprocess
Features: Bipartite graph modeling, DFS/BFS traversal, weighted priority matching.
Integrated KNN model to recommend jobs based on skills, experience, and category.
Interactive web interface linking Flask frontend with C backend.
This project aims to intelligently match job seekers with companies by combining graph theory and AI-based recommendation techniques. It:
- Models job seekers and companies as nodes in a bipartite graph.
- Uses graph traversal algorithms (DFS & BFS) to explore potential matches.
- Applies priority-based matching using edge weights based on skill overlap.
- Integrates a K-Nearest Neighbors (KNN) model to enhance personalized job suggestions.
- The graph includes two node sets:
- Job Seekers
- Companies
- An edge is added if there is a potential match based on shared skills.
- Stored using adjacency lists for efficient memory and fast lookup.
- Each node (seeker or company) is a vertex in the graph.
- Recursively explores companies connected to a seeker.
- Uses
visited[]to prevent revisiting nodes. - Ideal for deep search of potential matches.
- Uses a queue to explore companies level-by-level.
- Suitable for finding the closest relevant job opportunities.
- Each seeker-company edge has a weight based on skills overlap.
- The system selects the company with the highest matching score for each seeker.
- Ensures quality over quantity in matching.
- Graph is stored as an adjacency list, not a matrix.
- Dynamic lists allow faster updates and less memory usage.
- Queries and graph operations are optimized.
- Trained on historical job data.
- Input features:
- Skills (multi-label)
- Years of experience
- Job category
- Converts user input into vectors to find similar jobs.
- Enhances graph-based matching with personalized recommendations.
-
User Input
Job seekers and companies provide details like skills, experience, and category. -
Graph Generation
System connects seekers to companies with similar skills. -
Traversal & Matching
- Run DFS/BFS to explore matches.
- Use edge weights for priority-based matching.
-
AI Recommendation
KNN suggests jobs based on user profile features.
- Built using Flask (Python).
- Allows users to:
- Enter data
- Trigger graph algorithms
- Get AI-based suggestions
- Clean and interactive UI with HTML/CSS.
- C code handles graph building, traversal, and matching.
- Flask passes user input to
input.txt. - Python’s
subprocessruns the compiled C program. - C program returns results → Flask displays them on the web interface.
User clicks “Run DFS” → Flask writes to
input.txt→ C code runs DFS → output displayed on browser
Example: “Seeker 0 matched to Company 1”
C— Graph logic and algorithms (DFS, BFS, priority matching)Python— Flask for web interfaceKNN— Scikit-learn model for AI recommendationsHTML/CSS— User-friendly frontendsubprocess— Python↔️ C communication via file system
Open a terminal and run:
cd backend_c
gcc -o jobmatching main.c structures.c
Open a terminal and run:
cd webapp
pip install -r ../requirements.txt # Install required Python packages if not done yet
python app.pyThis system combines graph theory and machine learning for smarter job matching:
- Graph algorithms ensure transparent and efficient exploration.
- KNN provides personalized recommendations.
- Bipartite graph structure mirrors real-world job-seeker/company