ai-se / Resume_Job_Matching

0 stars 0 forks source link

Triplet testing #9

Open azhe825 opened 5 years ago

azhe825 commented 5 years ago
jobids = {"photographer":6445,"Office Manager":3238,"HR":18993,"ASP.NET Developer":11854,"Sales/Consultant":1525,"Administrative Assistant":14386,"Graphic Designer":14585,"Software Engineer":413, "User Interface/ Web Designer":16808, "Lawyer":19000}
resumeids = {"photographer":44,"Office Manager":103,"HR":3,"ASP.NET Developer":48,"Sales/Consultant":605,"Administrative Assistant":504,"Graphic Designer":1168,"Software Engineer":881,"User Interface/ Web Designer":41, "Lawyer":392}

For every triplet {Job_A, Resume_A, Resume_B}, diff = cos_dist(Job_A, Resume_A) - cos_dist(Job_A, Resume_B) If diff > margin: score+=1 elif diff < -margin: score-=1

Margin = 0.1 targeting jobs {'tfidf': 29, 'lda': 45, 'doc2vec': 2} targeting resumes {'tfidf': 28, 'lda': 43, 'doc2vec': 4}

Margin = 0 targeting jobs {'tfidf': 44, 'lda': 72, 'doc2vec': -2} targeting resumes {'tfidf': 60, 'lda': 74, 'doc2vec': 12}

azhe825 commented 5 years ago

targeting jobs {'lda_10': 66, 'lda_100': 70, 'lda_20': 72, 'lda_50': 68} targeting resumes {'lda_10': 46, 'lda_100': 76, 'lda_20': 66, 'lda_50': 64}

[('Software Engineer', 'User Interface/ Web Designer'), ('Software Engineer', 'ASP.NET Developer'), ('photographer', 'Graphic Designer'), ('Office Manager', 'Administrative Assistant'), ('Office Manager', 'photographer'), ('ASP.NET Developer', 'Software Engineer'), ('ASP.NET Developer', 'Sales/Consultant'), ('ASP.NET Developer', 'Administrative Assistant'), ('ASP.NET Developer', 'HR'), ('ASP.NET Developer', 'photographer'), ('ASP.NET Developer', 'Office Manager'), ('Sales/Consultant', 'Administrative Assistant'), ('Sales/Consultant', 'Office Manager'), ('photographer', 'User Interface/ Web Designer'), ('photographer', 'Graphic Designer'), ('Office Manager', 'Administrative Assistant'), ('ASP.NET Developer', 'Software Engineer'), ('ASP.NET Developer', 'Sales/Consultant'), ('ASP.NET Developer', 'Administrative Assistant'), ('ASP.NET Developer', 'User Interface/ Web Designer'), ('ASP.NET Developer', 'Lawyer'), ('ASP.NET Developer', 'HR'), ('ASP.NET Developer', 'photographer'), ('ASP.NET Developer', 'Office Manager'), ('ASP.NET Developer', 'Graphic Designer')]
azhe825 commented 5 years ago

Topics for LDA (20):

Topic 0: accounting financial finance tax english reports accountant career Topic 1: job software experience application knowledge development www company Topic 2: systems data technical network project support management software Topic 3: job knowledge application design software experience www development Topic 4: job application mention website www careercenter career knowledge Topic 5: job career www website open armenia application announcement Topic 6: x80 xe2 xa2 xa6 x93 resume experience x99s Topic 7: xc2 xa0 xe2 x80 x04 xad xa0and x07 Topic 8: job application mention www careercenter website career armenia Topic 9: application job bank www knowledge careercenter credit armenia Topic 10: xef x82 xb7 xa7 x93 x83 com skills Topic 11: xd9 development armenia ensure health project support experience Topic 12: xe2 x80 x9d university health association school x93 Topic 13: job application mention company www skills website knowledge Topic 14: project armenia development job experience application program international Topic 15: experience job application development web design software knowledge Topic 16: project legal armenia management implementation law office international Topic 17: job office application skills work ability mention website Topic 18: training education media application students language program educational Topic 19: sales marketing business management manager company skills develop

azhe825 commented 5 years ago

Job Free, 3 categories

targeting jobs {'tfidf': 0.42, 'lda': 0.32, 'doc2vec': 0.01} targeting resumes {'tfidf': 0.37, 'lda': 0.29, 'doc2vec': -0.01}

Job Free, 6 categories

targeting jobs {'tfidf': 0.35 (0.016), 'lda': 0.27 (0.024), 'doc2vec': -0.00} targeting resumes {'tfidf': 0.33 (0.009), 'lda': 0.25 (0.021), 'doc2vec': 0.02}