This Python script is designed for calculating and recommending users on LinkedIn based on their skills and a desired set of skills. It uses TensorFlow to create skill embeddings and compute user skill similarities. The script loads user data from a JSON file, extracts unique skills, and constructs a skill vocabulary. It then calculates and displays the top-K users who are most similar to a given set of skills.
- Utilizes TensorFlow for user skill similarity calculations.
- Loads user data from a JSON file and extracts user URLs and skills.
- Constructs a skill vocabulary for all unique skills in the dataset.
- Computes skill-based user similarities.
- Allows users to specify a set of desired skills for recommendations.
- Prepare your user data in a JSON file.
- Define your desired set of skills.
- Run the script to find and display the top-K users with the highest similarity scores for the specified skill set.
The web scraping functionality was removed from this code due to concerns that it could be potentially misused for spamming purposes. I want to ensure the responsible and ethical use of the code and data, and therefore, decided to focus solely on the core recommendation system.